@replit/protocol 0.3.30 → 0.3.31
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 +424 -0
- package/main/index.js +1065 -1
- package/main/index.js.flow +596 -0
- package/package.json +2 -2
package/main/index.d.ts
CHANGED
|
@@ -17870,6 +17870,9 @@ 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);
|
|
17873
17876
|
}
|
|
17874
17877
|
|
|
17875
17878
|
/** Represents a DotReplit. */
|
|
@@ -17953,6 +17956,9 @@ export namespace replit {
|
|
|
17953
17956
|
/** DotReplit extension. */
|
|
17954
17957
|
public extension?: (replit.goval.api.ExtensionConfig|null);
|
|
17955
17958
|
|
|
17959
|
+
/** DotReplit rules. */
|
|
17960
|
+
public rules?: (replit.goval.api.RulesConfig|null);
|
|
17961
|
+
|
|
17956
17962
|
/**
|
|
17957
17963
|
* Creates a new DotReplit instance using the specified properties.
|
|
17958
17964
|
* @param [properties] Properties to set
|
|
@@ -21761,6 +21767,12 @@ export namespace replit {
|
|
|
21761
21767
|
|
|
21762
21768
|
/** ToolchainConfigs formatters */
|
|
21763
21769
|
formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
|
|
21770
|
+
|
|
21771
|
+
/** ToolchainConfigs disableInstallBeforeRun */
|
|
21772
|
+
disableInstallBeforeRun?: (boolean|null);
|
|
21773
|
+
|
|
21774
|
+
/** ToolchainConfigs disableGuessImports */
|
|
21775
|
+
disableGuessImports?: (boolean|null);
|
|
21764
21776
|
}
|
|
21765
21777
|
|
|
21766
21778
|
/** Represents a ToolchainConfigs. */
|
|
@@ -21790,6 +21802,12 @@ export namespace replit {
|
|
|
21790
21802
|
/** ToolchainConfigs formatters. */
|
|
21791
21803
|
public formatters: replit.goval.api.FormatterOption[];
|
|
21792
21804
|
|
|
21805
|
+
/** ToolchainConfigs disableInstallBeforeRun. */
|
|
21806
|
+
public disableInstallBeforeRun: boolean;
|
|
21807
|
+
|
|
21808
|
+
/** ToolchainConfigs disableGuessImports. */
|
|
21809
|
+
public disableGuessImports: boolean;
|
|
21810
|
+
|
|
21793
21811
|
/**
|
|
21794
21812
|
* Creates a new ToolchainConfigs instance using the specified properties.
|
|
21795
21813
|
* @param [properties] Properties to set
|
|
@@ -23557,6 +23575,412 @@ export namespace replit {
|
|
|
23557
23575
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23558
23576
|
}
|
|
23559
23577
|
|
|
23578
|
+
/** Properties of a RulesConfig. */
|
|
23579
|
+
interface IRulesConfig {
|
|
23580
|
+
|
|
23581
|
+
/** RulesConfig formatter */
|
|
23582
|
+
formatter?: (replit.goval.api.FormatterRules|replit.goval.api.IFormatterRules|null);
|
|
23583
|
+
}
|
|
23584
|
+
|
|
23585
|
+
/** Represents a RulesConfig. */
|
|
23586
|
+
class RulesConfig {
|
|
23587
|
+
|
|
23588
|
+
/**
|
|
23589
|
+
* Constructs a new RulesConfig.
|
|
23590
|
+
* @param [properties] Properties to set
|
|
23591
|
+
*/
|
|
23592
|
+
private constructor(properties?: replit.goval.api.IRulesConfig);
|
|
23593
|
+
|
|
23594
|
+
/** RulesConfig formatter. */
|
|
23595
|
+
public formatter?: (replit.goval.api.FormatterRules|null);
|
|
23596
|
+
|
|
23597
|
+
/**
|
|
23598
|
+
* Creates a new RulesConfig instance using the specified properties.
|
|
23599
|
+
* @param [properties] Properties to set
|
|
23600
|
+
* @returns RulesConfig instance
|
|
23601
|
+
*/
|
|
23602
|
+
public static create(properties?: replit.goval.api.IRulesConfig): replit.goval.api.RulesConfig;
|
|
23603
|
+
|
|
23604
|
+
/**
|
|
23605
|
+
* Encodes the specified RulesConfig message. Does not implicitly {@link replit.goval.api.RulesConfig.verify|verify} messages.
|
|
23606
|
+
* @param message RulesConfig message or plain object to encode
|
|
23607
|
+
* @param [writer] Writer to encode to
|
|
23608
|
+
* @returns Writer
|
|
23609
|
+
*/
|
|
23610
|
+
public static encode(message: replit.goval.api.RulesConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23611
|
+
|
|
23612
|
+
/**
|
|
23613
|
+
* Encodes the specified RulesConfig message, length delimited. Does not implicitly {@link replit.goval.api.RulesConfig.verify|verify} messages.
|
|
23614
|
+
* @param message RulesConfig message or plain object to encode
|
|
23615
|
+
* @param [writer] Writer to encode to
|
|
23616
|
+
* @returns Writer
|
|
23617
|
+
*/
|
|
23618
|
+
public static encodeDelimited(message: replit.goval.api.RulesConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23619
|
+
|
|
23620
|
+
/**
|
|
23621
|
+
* Decodes a RulesConfig message from the specified reader or buffer.
|
|
23622
|
+
* @param reader Reader or buffer to decode from
|
|
23623
|
+
* @param [length] Message length if known beforehand
|
|
23624
|
+
* @returns RulesConfig
|
|
23625
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23626
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23627
|
+
*/
|
|
23628
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RulesConfig;
|
|
23629
|
+
|
|
23630
|
+
/**
|
|
23631
|
+
* Decodes a RulesConfig message from the specified reader or buffer, length delimited.
|
|
23632
|
+
* @param reader Reader or buffer to decode from
|
|
23633
|
+
* @returns RulesConfig
|
|
23634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23636
|
+
*/
|
|
23637
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RulesConfig;
|
|
23638
|
+
|
|
23639
|
+
/**
|
|
23640
|
+
* Verifies a RulesConfig message.
|
|
23641
|
+
* @param message Plain object to verify
|
|
23642
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23643
|
+
*/
|
|
23644
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23645
|
+
|
|
23646
|
+
/**
|
|
23647
|
+
* Creates a RulesConfig message from a plain object. Also converts values to their respective internal types.
|
|
23648
|
+
* @param object Plain object
|
|
23649
|
+
* @returns RulesConfig
|
|
23650
|
+
*/
|
|
23651
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.RulesConfig;
|
|
23652
|
+
|
|
23653
|
+
/**
|
|
23654
|
+
* Creates a plain object from a RulesConfig message. Also converts values to other types if specified.
|
|
23655
|
+
* @param message RulesConfig
|
|
23656
|
+
* @param [options] Conversion options
|
|
23657
|
+
* @returns Plain object
|
|
23658
|
+
*/
|
|
23659
|
+
public static toObject(message: replit.goval.api.RulesConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23660
|
+
|
|
23661
|
+
/**
|
|
23662
|
+
* Converts this RulesConfig to JSON.
|
|
23663
|
+
* @returns JSON object
|
|
23664
|
+
*/
|
|
23665
|
+
public toJSON(): { [k: string]: any };
|
|
23666
|
+
|
|
23667
|
+
/**
|
|
23668
|
+
* Gets the default type url for RulesConfig
|
|
23669
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23670
|
+
* @returns The default type url
|
|
23671
|
+
*/
|
|
23672
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23673
|
+
}
|
|
23674
|
+
|
|
23675
|
+
/** Properties of a FormatterRules. */
|
|
23676
|
+
interface IFormatterRules {
|
|
23677
|
+
|
|
23678
|
+
/** FormatterRules patterns */
|
|
23679
|
+
patterns?: ((replit.goval.api.FormatterConfigWithPattern|replit.goval.api.IFormatterConfigWithPattern)[]|null);
|
|
23680
|
+
|
|
23681
|
+
/** FormatterRules fileExtensions */
|
|
23682
|
+
fileExtensions?: ({ [k: string]: (replit.goval.api.FormatterConfig|replit.goval.api.IFormatterConfig) }|null);
|
|
23683
|
+
|
|
23684
|
+
/** FormatterRules languages */
|
|
23685
|
+
languages?: ({ [k: string]: (replit.goval.api.FormatterConfig|replit.goval.api.IFormatterConfig) }|null);
|
|
23686
|
+
}
|
|
23687
|
+
|
|
23688
|
+
/** Represents a FormatterRules. */
|
|
23689
|
+
class FormatterRules {
|
|
23690
|
+
|
|
23691
|
+
/**
|
|
23692
|
+
* Constructs a new FormatterRules.
|
|
23693
|
+
* @param [properties] Properties to set
|
|
23694
|
+
*/
|
|
23695
|
+
private constructor(properties?: replit.goval.api.IFormatterRules);
|
|
23696
|
+
|
|
23697
|
+
/** FormatterRules patterns. */
|
|
23698
|
+
public patterns: replit.goval.api.FormatterConfigWithPattern[];
|
|
23699
|
+
|
|
23700
|
+
/** FormatterRules fileExtensions. */
|
|
23701
|
+
public fileExtensions: { [k: string]: replit.goval.api.FormatterConfig };
|
|
23702
|
+
|
|
23703
|
+
/** FormatterRules languages. */
|
|
23704
|
+
public languages: { [k: string]: replit.goval.api.FormatterConfig };
|
|
23705
|
+
|
|
23706
|
+
/**
|
|
23707
|
+
* Creates a new FormatterRules instance using the specified properties.
|
|
23708
|
+
* @param [properties] Properties to set
|
|
23709
|
+
* @returns FormatterRules instance
|
|
23710
|
+
*/
|
|
23711
|
+
public static create(properties?: replit.goval.api.IFormatterRules): replit.goval.api.FormatterRules;
|
|
23712
|
+
|
|
23713
|
+
/**
|
|
23714
|
+
* Encodes the specified FormatterRules message. Does not implicitly {@link replit.goval.api.FormatterRules.verify|verify} messages.
|
|
23715
|
+
* @param message FormatterRules message or plain object to encode
|
|
23716
|
+
* @param [writer] Writer to encode to
|
|
23717
|
+
* @returns Writer
|
|
23718
|
+
*/
|
|
23719
|
+
public static encode(message: replit.goval.api.FormatterRules, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23720
|
+
|
|
23721
|
+
/**
|
|
23722
|
+
* Encodes the specified FormatterRules message, length delimited. Does not implicitly {@link replit.goval.api.FormatterRules.verify|verify} messages.
|
|
23723
|
+
* @param message FormatterRules message or plain object to encode
|
|
23724
|
+
* @param [writer] Writer to encode to
|
|
23725
|
+
* @returns Writer
|
|
23726
|
+
*/
|
|
23727
|
+
public static encodeDelimited(message: replit.goval.api.FormatterRules, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23728
|
+
|
|
23729
|
+
/**
|
|
23730
|
+
* Decodes a FormatterRules message from the specified reader or buffer.
|
|
23731
|
+
* @param reader Reader or buffer to decode from
|
|
23732
|
+
* @param [length] Message length if known beforehand
|
|
23733
|
+
* @returns FormatterRules
|
|
23734
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23735
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23736
|
+
*/
|
|
23737
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterRules;
|
|
23738
|
+
|
|
23739
|
+
/**
|
|
23740
|
+
* Decodes a FormatterRules message from the specified reader or buffer, length delimited.
|
|
23741
|
+
* @param reader Reader or buffer to decode from
|
|
23742
|
+
* @returns FormatterRules
|
|
23743
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23744
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23745
|
+
*/
|
|
23746
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterRules;
|
|
23747
|
+
|
|
23748
|
+
/**
|
|
23749
|
+
* Verifies a FormatterRules message.
|
|
23750
|
+
* @param message Plain object to verify
|
|
23751
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23752
|
+
*/
|
|
23753
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23754
|
+
|
|
23755
|
+
/**
|
|
23756
|
+
* Creates a FormatterRules message from a plain object. Also converts values to their respective internal types.
|
|
23757
|
+
* @param object Plain object
|
|
23758
|
+
* @returns FormatterRules
|
|
23759
|
+
*/
|
|
23760
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterRules;
|
|
23761
|
+
|
|
23762
|
+
/**
|
|
23763
|
+
* Creates a plain object from a FormatterRules message. Also converts values to other types if specified.
|
|
23764
|
+
* @param message FormatterRules
|
|
23765
|
+
* @param [options] Conversion options
|
|
23766
|
+
* @returns Plain object
|
|
23767
|
+
*/
|
|
23768
|
+
public static toObject(message: replit.goval.api.FormatterRules, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23769
|
+
|
|
23770
|
+
/**
|
|
23771
|
+
* Converts this FormatterRules to JSON.
|
|
23772
|
+
* @returns JSON object
|
|
23773
|
+
*/
|
|
23774
|
+
public toJSON(): { [k: string]: any };
|
|
23775
|
+
|
|
23776
|
+
/**
|
|
23777
|
+
* Gets the default type url for FormatterRules
|
|
23778
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23779
|
+
* @returns The default type url
|
|
23780
|
+
*/
|
|
23781
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23782
|
+
}
|
|
23783
|
+
|
|
23784
|
+
/** Properties of a FormatterConfig. */
|
|
23785
|
+
interface IFormatterConfig {
|
|
23786
|
+
|
|
23787
|
+
/** FormatterConfig id */
|
|
23788
|
+
id?: (string|null);
|
|
23789
|
+
}
|
|
23790
|
+
|
|
23791
|
+
/** Represents a FormatterConfig. */
|
|
23792
|
+
class FormatterConfig {
|
|
23793
|
+
|
|
23794
|
+
/**
|
|
23795
|
+
* Constructs a new FormatterConfig.
|
|
23796
|
+
* @param [properties] Properties to set
|
|
23797
|
+
*/
|
|
23798
|
+
private constructor(properties?: replit.goval.api.IFormatterConfig);
|
|
23799
|
+
|
|
23800
|
+
/** FormatterConfig id. */
|
|
23801
|
+
public id: string;
|
|
23802
|
+
|
|
23803
|
+
/**
|
|
23804
|
+
* Creates a new FormatterConfig instance using the specified properties.
|
|
23805
|
+
* @param [properties] Properties to set
|
|
23806
|
+
* @returns FormatterConfig instance
|
|
23807
|
+
*/
|
|
23808
|
+
public static create(properties?: replit.goval.api.IFormatterConfig): replit.goval.api.FormatterConfig;
|
|
23809
|
+
|
|
23810
|
+
/**
|
|
23811
|
+
* Encodes the specified FormatterConfig message. Does not implicitly {@link replit.goval.api.FormatterConfig.verify|verify} messages.
|
|
23812
|
+
* @param message FormatterConfig message or plain object to encode
|
|
23813
|
+
* @param [writer] Writer to encode to
|
|
23814
|
+
* @returns Writer
|
|
23815
|
+
*/
|
|
23816
|
+
public static encode(message: replit.goval.api.FormatterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23817
|
+
|
|
23818
|
+
/**
|
|
23819
|
+
* Encodes the specified FormatterConfig message, length delimited. Does not implicitly {@link replit.goval.api.FormatterConfig.verify|verify} messages.
|
|
23820
|
+
* @param message FormatterConfig message or plain object to encode
|
|
23821
|
+
* @param [writer] Writer to encode to
|
|
23822
|
+
* @returns Writer
|
|
23823
|
+
*/
|
|
23824
|
+
public static encodeDelimited(message: replit.goval.api.FormatterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23825
|
+
|
|
23826
|
+
/**
|
|
23827
|
+
* Decodes a FormatterConfig message from the specified reader or buffer.
|
|
23828
|
+
* @param reader Reader or buffer to decode from
|
|
23829
|
+
* @param [length] Message length if known beforehand
|
|
23830
|
+
* @returns FormatterConfig
|
|
23831
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23832
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23833
|
+
*/
|
|
23834
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterConfig;
|
|
23835
|
+
|
|
23836
|
+
/**
|
|
23837
|
+
* Decodes a FormatterConfig message from the specified reader or buffer, length delimited.
|
|
23838
|
+
* @param reader Reader or buffer to decode from
|
|
23839
|
+
* @returns FormatterConfig
|
|
23840
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23841
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23842
|
+
*/
|
|
23843
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterConfig;
|
|
23844
|
+
|
|
23845
|
+
/**
|
|
23846
|
+
* Verifies a FormatterConfig message.
|
|
23847
|
+
* @param message Plain object to verify
|
|
23848
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23849
|
+
*/
|
|
23850
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23851
|
+
|
|
23852
|
+
/**
|
|
23853
|
+
* Creates a FormatterConfig message from a plain object. Also converts values to their respective internal types.
|
|
23854
|
+
* @param object Plain object
|
|
23855
|
+
* @returns FormatterConfig
|
|
23856
|
+
*/
|
|
23857
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterConfig;
|
|
23858
|
+
|
|
23859
|
+
/**
|
|
23860
|
+
* Creates a plain object from a FormatterConfig message. Also converts values to other types if specified.
|
|
23861
|
+
* @param message FormatterConfig
|
|
23862
|
+
* @param [options] Conversion options
|
|
23863
|
+
* @returns Plain object
|
|
23864
|
+
*/
|
|
23865
|
+
public static toObject(message: replit.goval.api.FormatterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23866
|
+
|
|
23867
|
+
/**
|
|
23868
|
+
* Converts this FormatterConfig to JSON.
|
|
23869
|
+
* @returns JSON object
|
|
23870
|
+
*/
|
|
23871
|
+
public toJSON(): { [k: string]: any };
|
|
23872
|
+
|
|
23873
|
+
/**
|
|
23874
|
+
* Gets the default type url for FormatterConfig
|
|
23875
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23876
|
+
* @returns The default type url
|
|
23877
|
+
*/
|
|
23878
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23879
|
+
}
|
|
23880
|
+
|
|
23881
|
+
/** Properties of a FormatterConfigWithPattern. */
|
|
23882
|
+
interface IFormatterConfigWithPattern {
|
|
23883
|
+
|
|
23884
|
+
/** FormatterConfigWithPattern id */
|
|
23885
|
+
id?: (string|null);
|
|
23886
|
+
|
|
23887
|
+
/** FormatterConfigWithPattern pattern */
|
|
23888
|
+
pattern?: (string|null);
|
|
23889
|
+
}
|
|
23890
|
+
|
|
23891
|
+
/** Represents a FormatterConfigWithPattern. */
|
|
23892
|
+
class FormatterConfigWithPattern {
|
|
23893
|
+
|
|
23894
|
+
/**
|
|
23895
|
+
* Constructs a new FormatterConfigWithPattern.
|
|
23896
|
+
* @param [properties] Properties to set
|
|
23897
|
+
*/
|
|
23898
|
+
private constructor(properties?: replit.goval.api.IFormatterConfigWithPattern);
|
|
23899
|
+
|
|
23900
|
+
/** FormatterConfigWithPattern id. */
|
|
23901
|
+
public id: string;
|
|
23902
|
+
|
|
23903
|
+
/** FormatterConfigWithPattern pattern. */
|
|
23904
|
+
public pattern: string;
|
|
23905
|
+
|
|
23906
|
+
/**
|
|
23907
|
+
* Creates a new FormatterConfigWithPattern instance using the specified properties.
|
|
23908
|
+
* @param [properties] Properties to set
|
|
23909
|
+
* @returns FormatterConfigWithPattern instance
|
|
23910
|
+
*/
|
|
23911
|
+
public static create(properties?: replit.goval.api.IFormatterConfigWithPattern): replit.goval.api.FormatterConfigWithPattern;
|
|
23912
|
+
|
|
23913
|
+
/**
|
|
23914
|
+
* Encodes the specified FormatterConfigWithPattern message. Does not implicitly {@link replit.goval.api.FormatterConfigWithPattern.verify|verify} messages.
|
|
23915
|
+
* @param message FormatterConfigWithPattern 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.FormatterConfigWithPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23920
|
+
|
|
23921
|
+
/**
|
|
23922
|
+
* Encodes the specified FormatterConfigWithPattern message, length delimited. Does not implicitly {@link replit.goval.api.FormatterConfigWithPattern.verify|verify} messages.
|
|
23923
|
+
* @param message FormatterConfigWithPattern 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.FormatterConfigWithPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23928
|
+
|
|
23929
|
+
/**
|
|
23930
|
+
* Decodes a FormatterConfigWithPattern 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 FormatterConfigWithPattern
|
|
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.FormatterConfigWithPattern;
|
|
23938
|
+
|
|
23939
|
+
/**
|
|
23940
|
+
* Decodes a FormatterConfigWithPattern message from the specified reader or buffer, length delimited.
|
|
23941
|
+
* @param reader Reader or buffer to decode from
|
|
23942
|
+
* @returns FormatterConfigWithPattern
|
|
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.FormatterConfigWithPattern;
|
|
23947
|
+
|
|
23948
|
+
/**
|
|
23949
|
+
* Verifies a FormatterConfigWithPattern 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 FormatterConfigWithPattern message from a plain object. Also converts values to their respective internal types.
|
|
23957
|
+
* @param object Plain object
|
|
23958
|
+
* @returns FormatterConfigWithPattern
|
|
23959
|
+
*/
|
|
23960
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterConfigWithPattern;
|
|
23961
|
+
|
|
23962
|
+
/**
|
|
23963
|
+
* Creates a plain object from a FormatterConfigWithPattern message. Also converts values to other types if specified.
|
|
23964
|
+
* @param message FormatterConfigWithPattern
|
|
23965
|
+
* @param [options] Conversion options
|
|
23966
|
+
* @returns Plain object
|
|
23967
|
+
*/
|
|
23968
|
+
public static toObject(message: replit.goval.api.FormatterConfigWithPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23969
|
+
|
|
23970
|
+
/**
|
|
23971
|
+
* Converts this FormatterConfigWithPattern to JSON.
|
|
23972
|
+
* @returns JSON object
|
|
23973
|
+
*/
|
|
23974
|
+
public toJSON(): { [k: string]: any };
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* Gets the default type url for FormatterConfigWithPattern
|
|
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
|
+
|
|
23560
23984
|
/** Properties of a ReplToken. */
|
|
23561
23985
|
interface IReplToken {
|
|
23562
23986
|
|