@replit/protocol 0.3.30 → 0.3.32
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 +527 -0
- package/main/index.js +1311 -1
- package/main/index.js.flow +738 -0
- package/package.json +2 -2
package/main/index.d.ts
CHANGED
|
@@ -17870,6 +17870,12 @@ export namespace replit {
|
|
|
17870
17870
|
|
|
17871
17871
|
/** DotReplit extension */
|
|
17872
17872
|
extension?: (replit.goval.api.ExtensionConfig|replit.goval.api.IExtensionConfig|null);
|
|
17873
|
+
|
|
17874
|
+
/** DotReplit rules */
|
|
17875
|
+
rules?: (replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null);
|
|
17876
|
+
|
|
17877
|
+
/** DotReplit suggestions */
|
|
17878
|
+
suggestions?: (replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null);
|
|
17873
17879
|
}
|
|
17874
17880
|
|
|
17875
17881
|
/** Represents a DotReplit. */
|
|
@@ -17953,6 +17959,12 @@ export namespace replit {
|
|
|
17953
17959
|
/** DotReplit extension. */
|
|
17954
17960
|
public extension?: (replit.goval.api.ExtensionConfig|null);
|
|
17955
17961
|
|
|
17962
|
+
/** DotReplit rules. */
|
|
17963
|
+
public rules?: (replit.goval.api.RulesConfig|null);
|
|
17964
|
+
|
|
17965
|
+
/** DotReplit suggestions. */
|
|
17966
|
+
public suggestions?: (replit.goval.api.SuggestionsConfig|null);
|
|
17967
|
+
|
|
17956
17968
|
/**
|
|
17957
17969
|
* Creates a new DotReplit instance using the specified properties.
|
|
17958
17970
|
* @param [properties] Properties to set
|
|
@@ -18689,6 +18701,103 @@ export namespace replit {
|
|
|
18689
18701
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18690
18702
|
}
|
|
18691
18703
|
|
|
18704
|
+
/** Properties of a SuggestionsConfig. */
|
|
18705
|
+
interface ISuggestionsConfig {
|
|
18706
|
+
|
|
18707
|
+
/** SuggestionsConfig extensions */
|
|
18708
|
+
extensions?: (string[]|null);
|
|
18709
|
+
}
|
|
18710
|
+
|
|
18711
|
+
/** Represents a SuggestionsConfig. */
|
|
18712
|
+
class SuggestionsConfig {
|
|
18713
|
+
|
|
18714
|
+
/**
|
|
18715
|
+
* Constructs a new SuggestionsConfig.
|
|
18716
|
+
* @param [properties] Properties to set
|
|
18717
|
+
*/
|
|
18718
|
+
private constructor(properties?: replit.goval.api.ISuggestionsConfig);
|
|
18719
|
+
|
|
18720
|
+
/** SuggestionsConfig extensions. */
|
|
18721
|
+
public extensions: string[];
|
|
18722
|
+
|
|
18723
|
+
/**
|
|
18724
|
+
* Creates a new SuggestionsConfig instance using the specified properties.
|
|
18725
|
+
* @param [properties] Properties to set
|
|
18726
|
+
* @returns SuggestionsConfig instance
|
|
18727
|
+
*/
|
|
18728
|
+
public static create(properties?: replit.goval.api.ISuggestionsConfig): replit.goval.api.SuggestionsConfig;
|
|
18729
|
+
|
|
18730
|
+
/**
|
|
18731
|
+
* Encodes the specified SuggestionsConfig message. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
|
|
18732
|
+
* @param message SuggestionsConfig message or plain object to encode
|
|
18733
|
+
* @param [writer] Writer to encode to
|
|
18734
|
+
* @returns Writer
|
|
18735
|
+
*/
|
|
18736
|
+
public static encode(message: replit.goval.api.SuggestionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18737
|
+
|
|
18738
|
+
/**
|
|
18739
|
+
* Encodes the specified SuggestionsConfig message, length delimited. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
|
|
18740
|
+
* @param message SuggestionsConfig message or plain object to encode
|
|
18741
|
+
* @param [writer] Writer to encode to
|
|
18742
|
+
* @returns Writer
|
|
18743
|
+
*/
|
|
18744
|
+
public static encodeDelimited(message: replit.goval.api.SuggestionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18745
|
+
|
|
18746
|
+
/**
|
|
18747
|
+
* Decodes a SuggestionsConfig message from the specified reader or buffer.
|
|
18748
|
+
* @param reader Reader or buffer to decode from
|
|
18749
|
+
* @param [length] Message length if known beforehand
|
|
18750
|
+
* @returns SuggestionsConfig
|
|
18751
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18752
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18753
|
+
*/
|
|
18754
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SuggestionsConfig;
|
|
18755
|
+
|
|
18756
|
+
/**
|
|
18757
|
+
* Decodes a SuggestionsConfig message from the specified reader or buffer, length delimited.
|
|
18758
|
+
* @param reader Reader or buffer to decode from
|
|
18759
|
+
* @returns SuggestionsConfig
|
|
18760
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18761
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18762
|
+
*/
|
|
18763
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SuggestionsConfig;
|
|
18764
|
+
|
|
18765
|
+
/**
|
|
18766
|
+
* Verifies a SuggestionsConfig message.
|
|
18767
|
+
* @param message Plain object to verify
|
|
18768
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18769
|
+
*/
|
|
18770
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18771
|
+
|
|
18772
|
+
/**
|
|
18773
|
+
* Creates a SuggestionsConfig message from a plain object. Also converts values to their respective internal types.
|
|
18774
|
+
* @param object Plain object
|
|
18775
|
+
* @returns SuggestionsConfig
|
|
18776
|
+
*/
|
|
18777
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SuggestionsConfig;
|
|
18778
|
+
|
|
18779
|
+
/**
|
|
18780
|
+
* Creates a plain object from a SuggestionsConfig message. Also converts values to other types if specified.
|
|
18781
|
+
* @param message SuggestionsConfig
|
|
18782
|
+
* @param [options] Conversion options
|
|
18783
|
+
* @returns Plain object
|
|
18784
|
+
*/
|
|
18785
|
+
public static toObject(message: replit.goval.api.SuggestionsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18786
|
+
|
|
18787
|
+
/**
|
|
18788
|
+
* Converts this SuggestionsConfig to JSON.
|
|
18789
|
+
* @returns JSON object
|
|
18790
|
+
*/
|
|
18791
|
+
public toJSON(): { [k: string]: any };
|
|
18792
|
+
|
|
18793
|
+
/**
|
|
18794
|
+
* Gets the default type url for SuggestionsConfig
|
|
18795
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18796
|
+
* @returns The default type url
|
|
18797
|
+
*/
|
|
18798
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18799
|
+
}
|
|
18800
|
+
|
|
18692
18801
|
/** Properties of a NixConfig. */
|
|
18693
18802
|
interface INixConfig {
|
|
18694
18803
|
|
|
@@ -21761,6 +21870,12 @@ export namespace replit {
|
|
|
21761
21870
|
|
|
21762
21871
|
/** ToolchainConfigs formatters */
|
|
21763
21872
|
formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
|
|
21873
|
+
|
|
21874
|
+
/** ToolchainConfigs disableInstallBeforeRun */
|
|
21875
|
+
disableInstallBeforeRun?: (boolean|null);
|
|
21876
|
+
|
|
21877
|
+
/** ToolchainConfigs disableGuessImports */
|
|
21878
|
+
disableGuessImports?: (boolean|null);
|
|
21764
21879
|
}
|
|
21765
21880
|
|
|
21766
21881
|
/** Represents a ToolchainConfigs. */
|
|
@@ -21790,6 +21905,12 @@ export namespace replit {
|
|
|
21790
21905
|
/** ToolchainConfigs formatters. */
|
|
21791
21906
|
public formatters: replit.goval.api.FormatterOption[];
|
|
21792
21907
|
|
|
21908
|
+
/** ToolchainConfigs disableInstallBeforeRun. */
|
|
21909
|
+
public disableInstallBeforeRun: boolean;
|
|
21910
|
+
|
|
21911
|
+
/** ToolchainConfigs disableGuessImports. */
|
|
21912
|
+
public disableGuessImports: boolean;
|
|
21913
|
+
|
|
21793
21914
|
/**
|
|
21794
21915
|
* Creates a new ToolchainConfigs instance using the specified properties.
|
|
21795
21916
|
* @param [properties] Properties to set
|
|
@@ -23557,6 +23678,412 @@ export namespace replit {
|
|
|
23557
23678
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23558
23679
|
}
|
|
23559
23680
|
|
|
23681
|
+
/** Properties of a RulesConfig. */
|
|
23682
|
+
interface IRulesConfig {
|
|
23683
|
+
|
|
23684
|
+
/** RulesConfig formatter */
|
|
23685
|
+
formatter?: (replit.goval.api.FormatterRules|replit.goval.api.IFormatterRules|null);
|
|
23686
|
+
}
|
|
23687
|
+
|
|
23688
|
+
/** Represents a RulesConfig. */
|
|
23689
|
+
class RulesConfig {
|
|
23690
|
+
|
|
23691
|
+
/**
|
|
23692
|
+
* Constructs a new RulesConfig.
|
|
23693
|
+
* @param [properties] Properties to set
|
|
23694
|
+
*/
|
|
23695
|
+
private constructor(properties?: replit.goval.api.IRulesConfig);
|
|
23696
|
+
|
|
23697
|
+
/** RulesConfig formatter. */
|
|
23698
|
+
public formatter?: (replit.goval.api.FormatterRules|null);
|
|
23699
|
+
|
|
23700
|
+
/**
|
|
23701
|
+
* Creates a new RulesConfig instance using the specified properties.
|
|
23702
|
+
* @param [properties] Properties to set
|
|
23703
|
+
* @returns RulesConfig instance
|
|
23704
|
+
*/
|
|
23705
|
+
public static create(properties?: replit.goval.api.IRulesConfig): replit.goval.api.RulesConfig;
|
|
23706
|
+
|
|
23707
|
+
/**
|
|
23708
|
+
* Encodes the specified RulesConfig message. Does not implicitly {@link replit.goval.api.RulesConfig.verify|verify} messages.
|
|
23709
|
+
* @param message RulesConfig message or plain object to encode
|
|
23710
|
+
* @param [writer] Writer to encode to
|
|
23711
|
+
* @returns Writer
|
|
23712
|
+
*/
|
|
23713
|
+
public static encode(message: replit.goval.api.RulesConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23714
|
+
|
|
23715
|
+
/**
|
|
23716
|
+
* Encodes the specified RulesConfig message, length delimited. Does not implicitly {@link replit.goval.api.RulesConfig.verify|verify} messages.
|
|
23717
|
+
* @param message RulesConfig message or plain object to encode
|
|
23718
|
+
* @param [writer] Writer to encode to
|
|
23719
|
+
* @returns Writer
|
|
23720
|
+
*/
|
|
23721
|
+
public static encodeDelimited(message: replit.goval.api.RulesConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23722
|
+
|
|
23723
|
+
/**
|
|
23724
|
+
* Decodes a RulesConfig message from the specified reader or buffer.
|
|
23725
|
+
* @param reader Reader or buffer to decode from
|
|
23726
|
+
* @param [length] Message length if known beforehand
|
|
23727
|
+
* @returns RulesConfig
|
|
23728
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23729
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23730
|
+
*/
|
|
23731
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RulesConfig;
|
|
23732
|
+
|
|
23733
|
+
/**
|
|
23734
|
+
* Decodes a RulesConfig message from the specified reader or buffer, length delimited.
|
|
23735
|
+
* @param reader Reader or buffer to decode from
|
|
23736
|
+
* @returns RulesConfig
|
|
23737
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23738
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23739
|
+
*/
|
|
23740
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RulesConfig;
|
|
23741
|
+
|
|
23742
|
+
/**
|
|
23743
|
+
* Verifies a RulesConfig message.
|
|
23744
|
+
* @param message Plain object to verify
|
|
23745
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23746
|
+
*/
|
|
23747
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23748
|
+
|
|
23749
|
+
/**
|
|
23750
|
+
* Creates a RulesConfig message from a plain object. Also converts values to their respective internal types.
|
|
23751
|
+
* @param object Plain object
|
|
23752
|
+
* @returns RulesConfig
|
|
23753
|
+
*/
|
|
23754
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.RulesConfig;
|
|
23755
|
+
|
|
23756
|
+
/**
|
|
23757
|
+
* Creates a plain object from a RulesConfig message. Also converts values to other types if specified.
|
|
23758
|
+
* @param message RulesConfig
|
|
23759
|
+
* @param [options] Conversion options
|
|
23760
|
+
* @returns Plain object
|
|
23761
|
+
*/
|
|
23762
|
+
public static toObject(message: replit.goval.api.RulesConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23763
|
+
|
|
23764
|
+
/**
|
|
23765
|
+
* Converts this RulesConfig to JSON.
|
|
23766
|
+
* @returns JSON object
|
|
23767
|
+
*/
|
|
23768
|
+
public toJSON(): { [k: string]: any };
|
|
23769
|
+
|
|
23770
|
+
/**
|
|
23771
|
+
* Gets the default type url for RulesConfig
|
|
23772
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23773
|
+
* @returns The default type url
|
|
23774
|
+
*/
|
|
23775
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23776
|
+
}
|
|
23777
|
+
|
|
23778
|
+
/** Properties of a FormatterRules. */
|
|
23779
|
+
interface IFormatterRules {
|
|
23780
|
+
|
|
23781
|
+
/** FormatterRules patterns */
|
|
23782
|
+
patterns?: ((replit.goval.api.FormatterConfigWithPattern|replit.goval.api.IFormatterConfigWithPattern)[]|null);
|
|
23783
|
+
|
|
23784
|
+
/** FormatterRules fileExtensions */
|
|
23785
|
+
fileExtensions?: ({ [k: string]: (replit.goval.api.FormatterConfig|replit.goval.api.IFormatterConfig) }|null);
|
|
23786
|
+
|
|
23787
|
+
/** FormatterRules languages */
|
|
23788
|
+
languages?: ({ [k: string]: (replit.goval.api.FormatterConfig|replit.goval.api.IFormatterConfig) }|null);
|
|
23789
|
+
}
|
|
23790
|
+
|
|
23791
|
+
/** Represents a FormatterRules. */
|
|
23792
|
+
class FormatterRules {
|
|
23793
|
+
|
|
23794
|
+
/**
|
|
23795
|
+
* Constructs a new FormatterRules.
|
|
23796
|
+
* @param [properties] Properties to set
|
|
23797
|
+
*/
|
|
23798
|
+
private constructor(properties?: replit.goval.api.IFormatterRules);
|
|
23799
|
+
|
|
23800
|
+
/** FormatterRules patterns. */
|
|
23801
|
+
public patterns: replit.goval.api.FormatterConfigWithPattern[];
|
|
23802
|
+
|
|
23803
|
+
/** FormatterRules fileExtensions. */
|
|
23804
|
+
public fileExtensions: { [k: string]: replit.goval.api.FormatterConfig };
|
|
23805
|
+
|
|
23806
|
+
/** FormatterRules languages. */
|
|
23807
|
+
public languages: { [k: string]: replit.goval.api.FormatterConfig };
|
|
23808
|
+
|
|
23809
|
+
/**
|
|
23810
|
+
* Creates a new FormatterRules instance using the specified properties.
|
|
23811
|
+
* @param [properties] Properties to set
|
|
23812
|
+
* @returns FormatterRules instance
|
|
23813
|
+
*/
|
|
23814
|
+
public static create(properties?: replit.goval.api.IFormatterRules): replit.goval.api.FormatterRules;
|
|
23815
|
+
|
|
23816
|
+
/**
|
|
23817
|
+
* Encodes the specified FormatterRules message. Does not implicitly {@link replit.goval.api.FormatterRules.verify|verify} messages.
|
|
23818
|
+
* @param message FormatterRules message or plain object to encode
|
|
23819
|
+
* @param [writer] Writer to encode to
|
|
23820
|
+
* @returns Writer
|
|
23821
|
+
*/
|
|
23822
|
+
public static encode(message: replit.goval.api.FormatterRules, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23823
|
+
|
|
23824
|
+
/**
|
|
23825
|
+
* Encodes the specified FormatterRules message, length delimited. Does not implicitly {@link replit.goval.api.FormatterRules.verify|verify} messages.
|
|
23826
|
+
* @param message FormatterRules message or plain object to encode
|
|
23827
|
+
* @param [writer] Writer to encode to
|
|
23828
|
+
* @returns Writer
|
|
23829
|
+
*/
|
|
23830
|
+
public static encodeDelimited(message: replit.goval.api.FormatterRules, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23831
|
+
|
|
23832
|
+
/**
|
|
23833
|
+
* Decodes a FormatterRules message from the specified reader or buffer.
|
|
23834
|
+
* @param reader Reader or buffer to decode from
|
|
23835
|
+
* @param [length] Message length if known beforehand
|
|
23836
|
+
* @returns FormatterRules
|
|
23837
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23838
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23839
|
+
*/
|
|
23840
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterRules;
|
|
23841
|
+
|
|
23842
|
+
/**
|
|
23843
|
+
* Decodes a FormatterRules message from the specified reader or buffer, length delimited.
|
|
23844
|
+
* @param reader Reader or buffer to decode from
|
|
23845
|
+
* @returns FormatterRules
|
|
23846
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23847
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23848
|
+
*/
|
|
23849
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterRules;
|
|
23850
|
+
|
|
23851
|
+
/**
|
|
23852
|
+
* Verifies a FormatterRules message.
|
|
23853
|
+
* @param message Plain object to verify
|
|
23854
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23855
|
+
*/
|
|
23856
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23857
|
+
|
|
23858
|
+
/**
|
|
23859
|
+
* Creates a FormatterRules message from a plain object. Also converts values to their respective internal types.
|
|
23860
|
+
* @param object Plain object
|
|
23861
|
+
* @returns FormatterRules
|
|
23862
|
+
*/
|
|
23863
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterRules;
|
|
23864
|
+
|
|
23865
|
+
/**
|
|
23866
|
+
* Creates a plain object from a FormatterRules message. Also converts values to other types if specified.
|
|
23867
|
+
* @param message FormatterRules
|
|
23868
|
+
* @param [options] Conversion options
|
|
23869
|
+
* @returns Plain object
|
|
23870
|
+
*/
|
|
23871
|
+
public static toObject(message: replit.goval.api.FormatterRules, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23872
|
+
|
|
23873
|
+
/**
|
|
23874
|
+
* Converts this FormatterRules to JSON.
|
|
23875
|
+
* @returns JSON object
|
|
23876
|
+
*/
|
|
23877
|
+
public toJSON(): { [k: string]: any };
|
|
23878
|
+
|
|
23879
|
+
/**
|
|
23880
|
+
* Gets the default type url for FormatterRules
|
|
23881
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23882
|
+
* @returns The default type url
|
|
23883
|
+
*/
|
|
23884
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23885
|
+
}
|
|
23886
|
+
|
|
23887
|
+
/** Properties of a FormatterConfig. */
|
|
23888
|
+
interface IFormatterConfig {
|
|
23889
|
+
|
|
23890
|
+
/** FormatterConfig id */
|
|
23891
|
+
id?: (string|null);
|
|
23892
|
+
}
|
|
23893
|
+
|
|
23894
|
+
/** Represents a FormatterConfig. */
|
|
23895
|
+
class FormatterConfig {
|
|
23896
|
+
|
|
23897
|
+
/**
|
|
23898
|
+
* Constructs a new FormatterConfig.
|
|
23899
|
+
* @param [properties] Properties to set
|
|
23900
|
+
*/
|
|
23901
|
+
private constructor(properties?: replit.goval.api.IFormatterConfig);
|
|
23902
|
+
|
|
23903
|
+
/** FormatterConfig id. */
|
|
23904
|
+
public id: string;
|
|
23905
|
+
|
|
23906
|
+
/**
|
|
23907
|
+
* Creates a new FormatterConfig instance using the specified properties.
|
|
23908
|
+
* @param [properties] Properties to set
|
|
23909
|
+
* @returns FormatterConfig instance
|
|
23910
|
+
*/
|
|
23911
|
+
public static create(properties?: replit.goval.api.IFormatterConfig): replit.goval.api.FormatterConfig;
|
|
23912
|
+
|
|
23913
|
+
/**
|
|
23914
|
+
* Encodes the specified FormatterConfig message. Does not implicitly {@link replit.goval.api.FormatterConfig.verify|verify} messages.
|
|
23915
|
+
* @param message FormatterConfig message or plain object to encode
|
|
23916
|
+
* @param [writer] Writer to encode to
|
|
23917
|
+
* @returns Writer
|
|
23918
|
+
*/
|
|
23919
|
+
public static encode(message: replit.goval.api.FormatterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23920
|
+
|
|
23921
|
+
/**
|
|
23922
|
+
* Encodes the specified FormatterConfig message, length delimited. Does not implicitly {@link replit.goval.api.FormatterConfig.verify|verify} messages.
|
|
23923
|
+
* @param message FormatterConfig message or plain object to encode
|
|
23924
|
+
* @param [writer] Writer to encode to
|
|
23925
|
+
* @returns Writer
|
|
23926
|
+
*/
|
|
23927
|
+
public static encodeDelimited(message: replit.goval.api.FormatterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23928
|
+
|
|
23929
|
+
/**
|
|
23930
|
+
* Decodes a FormatterConfig message from the specified reader or buffer.
|
|
23931
|
+
* @param reader Reader or buffer to decode from
|
|
23932
|
+
* @param [length] Message length if known beforehand
|
|
23933
|
+
* @returns FormatterConfig
|
|
23934
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23935
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23936
|
+
*/
|
|
23937
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterConfig;
|
|
23938
|
+
|
|
23939
|
+
/**
|
|
23940
|
+
* Decodes a FormatterConfig message from the specified reader or buffer, length delimited.
|
|
23941
|
+
* @param reader Reader or buffer to decode from
|
|
23942
|
+
* @returns FormatterConfig
|
|
23943
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23944
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23945
|
+
*/
|
|
23946
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterConfig;
|
|
23947
|
+
|
|
23948
|
+
/**
|
|
23949
|
+
* Verifies a FormatterConfig message.
|
|
23950
|
+
* @param message Plain object to verify
|
|
23951
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23952
|
+
*/
|
|
23953
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23954
|
+
|
|
23955
|
+
/**
|
|
23956
|
+
* Creates a FormatterConfig message from a plain object. Also converts values to their respective internal types.
|
|
23957
|
+
* @param object Plain object
|
|
23958
|
+
* @returns FormatterConfig
|
|
23959
|
+
*/
|
|
23960
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterConfig;
|
|
23961
|
+
|
|
23962
|
+
/**
|
|
23963
|
+
* Creates a plain object from a FormatterConfig message. Also converts values to other types if specified.
|
|
23964
|
+
* @param message FormatterConfig
|
|
23965
|
+
* @param [options] Conversion options
|
|
23966
|
+
* @returns Plain object
|
|
23967
|
+
*/
|
|
23968
|
+
public static toObject(message: replit.goval.api.FormatterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23969
|
+
|
|
23970
|
+
/**
|
|
23971
|
+
* Converts this FormatterConfig to JSON.
|
|
23972
|
+
* @returns JSON object
|
|
23973
|
+
*/
|
|
23974
|
+
public toJSON(): { [k: string]: any };
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* Gets the default type url for FormatterConfig
|
|
23978
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23979
|
+
* @returns The default type url
|
|
23980
|
+
*/
|
|
23981
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23982
|
+
}
|
|
23983
|
+
|
|
23984
|
+
/** Properties of a FormatterConfigWithPattern. */
|
|
23985
|
+
interface IFormatterConfigWithPattern {
|
|
23986
|
+
|
|
23987
|
+
/** FormatterConfigWithPattern id */
|
|
23988
|
+
id?: (string|null);
|
|
23989
|
+
|
|
23990
|
+
/** FormatterConfigWithPattern pattern */
|
|
23991
|
+
pattern?: (string|null);
|
|
23992
|
+
}
|
|
23993
|
+
|
|
23994
|
+
/** Represents a FormatterConfigWithPattern. */
|
|
23995
|
+
class FormatterConfigWithPattern {
|
|
23996
|
+
|
|
23997
|
+
/**
|
|
23998
|
+
* Constructs a new FormatterConfigWithPattern.
|
|
23999
|
+
* @param [properties] Properties to set
|
|
24000
|
+
*/
|
|
24001
|
+
private constructor(properties?: replit.goval.api.IFormatterConfigWithPattern);
|
|
24002
|
+
|
|
24003
|
+
/** FormatterConfigWithPattern id. */
|
|
24004
|
+
public id: string;
|
|
24005
|
+
|
|
24006
|
+
/** FormatterConfigWithPattern pattern. */
|
|
24007
|
+
public pattern: string;
|
|
24008
|
+
|
|
24009
|
+
/**
|
|
24010
|
+
* Creates a new FormatterConfigWithPattern instance using the specified properties.
|
|
24011
|
+
* @param [properties] Properties to set
|
|
24012
|
+
* @returns FormatterConfigWithPattern instance
|
|
24013
|
+
*/
|
|
24014
|
+
public static create(properties?: replit.goval.api.IFormatterConfigWithPattern): replit.goval.api.FormatterConfigWithPattern;
|
|
24015
|
+
|
|
24016
|
+
/**
|
|
24017
|
+
* Encodes the specified FormatterConfigWithPattern message. Does not implicitly {@link replit.goval.api.FormatterConfigWithPattern.verify|verify} messages.
|
|
24018
|
+
* @param message FormatterConfigWithPattern message or plain object to encode
|
|
24019
|
+
* @param [writer] Writer to encode to
|
|
24020
|
+
* @returns Writer
|
|
24021
|
+
*/
|
|
24022
|
+
public static encode(message: replit.goval.api.FormatterConfigWithPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24023
|
+
|
|
24024
|
+
/**
|
|
24025
|
+
* Encodes the specified FormatterConfigWithPattern message, length delimited. Does not implicitly {@link replit.goval.api.FormatterConfigWithPattern.verify|verify} messages.
|
|
24026
|
+
* @param message FormatterConfigWithPattern message or plain object to encode
|
|
24027
|
+
* @param [writer] Writer to encode to
|
|
24028
|
+
* @returns Writer
|
|
24029
|
+
*/
|
|
24030
|
+
public static encodeDelimited(message: replit.goval.api.FormatterConfigWithPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24031
|
+
|
|
24032
|
+
/**
|
|
24033
|
+
* Decodes a FormatterConfigWithPattern message from the specified reader or buffer.
|
|
24034
|
+
* @param reader Reader or buffer to decode from
|
|
24035
|
+
* @param [length] Message length if known beforehand
|
|
24036
|
+
* @returns FormatterConfigWithPattern
|
|
24037
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24038
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24039
|
+
*/
|
|
24040
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterConfigWithPattern;
|
|
24041
|
+
|
|
24042
|
+
/**
|
|
24043
|
+
* Decodes a FormatterConfigWithPattern message from the specified reader or buffer, length delimited.
|
|
24044
|
+
* @param reader Reader or buffer to decode from
|
|
24045
|
+
* @returns FormatterConfigWithPattern
|
|
24046
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24047
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24048
|
+
*/
|
|
24049
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterConfigWithPattern;
|
|
24050
|
+
|
|
24051
|
+
/**
|
|
24052
|
+
* Verifies a FormatterConfigWithPattern message.
|
|
24053
|
+
* @param message Plain object to verify
|
|
24054
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24055
|
+
*/
|
|
24056
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24057
|
+
|
|
24058
|
+
/**
|
|
24059
|
+
* Creates a FormatterConfigWithPattern message from a plain object. Also converts values to their respective internal types.
|
|
24060
|
+
* @param object Plain object
|
|
24061
|
+
* @returns FormatterConfigWithPattern
|
|
24062
|
+
*/
|
|
24063
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterConfigWithPattern;
|
|
24064
|
+
|
|
24065
|
+
/**
|
|
24066
|
+
* Creates a plain object from a FormatterConfigWithPattern message. Also converts values to other types if specified.
|
|
24067
|
+
* @param message FormatterConfigWithPattern
|
|
24068
|
+
* @param [options] Conversion options
|
|
24069
|
+
* @returns Plain object
|
|
24070
|
+
*/
|
|
24071
|
+
public static toObject(message: replit.goval.api.FormatterConfigWithPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24072
|
+
|
|
24073
|
+
/**
|
|
24074
|
+
* Converts this FormatterConfigWithPattern to JSON.
|
|
24075
|
+
* @returns JSON object
|
|
24076
|
+
*/
|
|
24077
|
+
public toJSON(): { [k: string]: any };
|
|
24078
|
+
|
|
24079
|
+
/**
|
|
24080
|
+
* Gets the default type url for FormatterConfigWithPattern
|
|
24081
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24082
|
+
* @returns The default type url
|
|
24083
|
+
*/
|
|
24084
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24085
|
+
}
|
|
24086
|
+
|
|
23560
24087
|
/** Properties of a ReplToken. */
|
|
23561
24088
|
interface IReplToken {
|
|
23562
24089
|
|