@replit/protocol 0.2.74 → 0.2.76
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 +1327 -596
- package/main/index.js +5707 -3880
- package/main/index.js.flow +2263 -1217
- package/package.json +2 -2
package/main/index.d.ts
CHANGED
|
@@ -15677,6 +15677,9 @@ export namespace replit {
|
|
|
15677
15677
|
|
|
15678
15678
|
/** DotReplit refreshWebViewOnFileChange */
|
|
15679
15679
|
refreshWebViewOnFileChange?: (string[]|null);
|
|
15680
|
+
|
|
15681
|
+
/** DotReplit deployment */
|
|
15682
|
+
deployment?: (replit.goval.api.DeploymentConfig|replit.goval.api.IDeploymentConfig|null);
|
|
15680
15683
|
}
|
|
15681
15684
|
|
|
15682
15685
|
/** Represents a DotReplit. */
|
|
@@ -15751,6 +15754,9 @@ export namespace replit {
|
|
|
15751
15754
|
/** DotReplit refreshWebViewOnFileChange. */
|
|
15752
15755
|
public refreshWebViewOnFileChange: string[];
|
|
15753
15756
|
|
|
15757
|
+
/** DotReplit deployment. */
|
|
15758
|
+
public deployment?: (replit.goval.api.DeploymentConfig|null);
|
|
15759
|
+
|
|
15754
15760
|
/**
|
|
15755
15761
|
* Creates a new DotReplit instance using the specified properties.
|
|
15756
15762
|
* @param [properties] Properties to set
|
|
@@ -16200,6 +16206,102 @@ export namespace replit {
|
|
|
16200
16206
|
public toJSON(): { [k: string]: any };
|
|
16201
16207
|
}
|
|
16202
16208
|
|
|
16209
|
+
/** Properties of a DeploymentConfig. */
|
|
16210
|
+
interface IDeploymentConfig {
|
|
16211
|
+
|
|
16212
|
+
/** DeploymentConfig run */
|
|
16213
|
+
run?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
16214
|
+
|
|
16215
|
+
/** DeploymentConfig build */
|
|
16216
|
+
build?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
16217
|
+
}
|
|
16218
|
+
|
|
16219
|
+
/** Represents a DeploymentConfig. */
|
|
16220
|
+
class DeploymentConfig {
|
|
16221
|
+
|
|
16222
|
+
/**
|
|
16223
|
+
* Constructs a new DeploymentConfig.
|
|
16224
|
+
* @param [properties] Properties to set
|
|
16225
|
+
*/
|
|
16226
|
+
private constructor(properties?: replit.goval.api.IDeploymentConfig);
|
|
16227
|
+
|
|
16228
|
+
/** DeploymentConfig run. */
|
|
16229
|
+
public run?: (replit.goval.api.Exec|null);
|
|
16230
|
+
|
|
16231
|
+
/** DeploymentConfig build. */
|
|
16232
|
+
public build?: (replit.goval.api.Exec|null);
|
|
16233
|
+
|
|
16234
|
+
/**
|
|
16235
|
+
* Creates a new DeploymentConfig instance using the specified properties.
|
|
16236
|
+
* @param [properties] Properties to set
|
|
16237
|
+
* @returns DeploymentConfig instance
|
|
16238
|
+
*/
|
|
16239
|
+
public static create(properties?: replit.goval.api.IDeploymentConfig): replit.goval.api.DeploymentConfig;
|
|
16240
|
+
|
|
16241
|
+
/**
|
|
16242
|
+
* Encodes the specified DeploymentConfig message. Does not implicitly {@link replit.goval.api.DeploymentConfig.verify|verify} messages.
|
|
16243
|
+
* @param message DeploymentConfig message or plain object to encode
|
|
16244
|
+
* @param [writer] Writer to encode to
|
|
16245
|
+
* @returns Writer
|
|
16246
|
+
*/
|
|
16247
|
+
public static encode(message: replit.goval.api.DeploymentConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16248
|
+
|
|
16249
|
+
/**
|
|
16250
|
+
* Encodes the specified DeploymentConfig message, length delimited. Does not implicitly {@link replit.goval.api.DeploymentConfig.verify|verify} messages.
|
|
16251
|
+
* @param message DeploymentConfig message or plain object to encode
|
|
16252
|
+
* @param [writer] Writer to encode to
|
|
16253
|
+
* @returns Writer
|
|
16254
|
+
*/
|
|
16255
|
+
public static encodeDelimited(message: replit.goval.api.DeploymentConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16256
|
+
|
|
16257
|
+
/**
|
|
16258
|
+
* Decodes a DeploymentConfig message from the specified reader or buffer.
|
|
16259
|
+
* @param reader Reader or buffer to decode from
|
|
16260
|
+
* @param [length] Message length if known beforehand
|
|
16261
|
+
* @returns DeploymentConfig
|
|
16262
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16263
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16264
|
+
*/
|
|
16265
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.DeploymentConfig;
|
|
16266
|
+
|
|
16267
|
+
/**
|
|
16268
|
+
* Decodes a DeploymentConfig message from the specified reader or buffer, length delimited.
|
|
16269
|
+
* @param reader Reader or buffer to decode from
|
|
16270
|
+
* @returns DeploymentConfig
|
|
16271
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16272
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16273
|
+
*/
|
|
16274
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.DeploymentConfig;
|
|
16275
|
+
|
|
16276
|
+
/**
|
|
16277
|
+
* Verifies a DeploymentConfig message.
|
|
16278
|
+
* @param message Plain object to verify
|
|
16279
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16280
|
+
*/
|
|
16281
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16282
|
+
|
|
16283
|
+
/**
|
|
16284
|
+
* Creates a DeploymentConfig message from a plain object. Also converts values to their respective internal types.
|
|
16285
|
+
* @param object Plain object
|
|
16286
|
+
* @returns DeploymentConfig
|
|
16287
|
+
*/
|
|
16288
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.DeploymentConfig;
|
|
16289
|
+
|
|
16290
|
+
/**
|
|
16291
|
+
* Creates a plain object from a DeploymentConfig message. Also converts values to other types if specified.
|
|
16292
|
+
* @param message DeploymentConfig
|
|
16293
|
+
* @param [options] Conversion options
|
|
16294
|
+
* @returns Plain object
|
|
16295
|
+
*/
|
|
16296
|
+
public static toObject(message: replit.goval.api.DeploymentConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16297
|
+
|
|
16298
|
+
/**
|
|
16299
|
+
* Converts this DeploymentConfig to JSON.
|
|
16300
|
+
* @returns JSON object
|
|
16301
|
+
*/
|
|
16302
|
+
public toJSON(): { [k: string]: any };
|
|
16303
|
+
}
|
|
16304
|
+
|
|
16203
16305
|
/** Properties of a NixConfig. */
|
|
16204
16306
|
interface INixConfig {
|
|
16205
16307
|
|
|
@@ -17838,575 +17940,210 @@ export namespace replit {
|
|
|
17838
17940
|
public toJSON(): { [k: string]: any };
|
|
17839
17941
|
}
|
|
17840
17942
|
|
|
17841
|
-
/** Properties of a
|
|
17842
|
-
interface
|
|
17843
|
-
|
|
17844
|
-
/** Repl id */
|
|
17845
|
-
id?: (string|null);
|
|
17943
|
+
/** Properties of a ReplToken. */
|
|
17944
|
+
interface IReplToken {
|
|
17846
17945
|
|
|
17847
|
-
/**
|
|
17848
|
-
|
|
17946
|
+
/** ReplToken iat */
|
|
17947
|
+
iat?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
17849
17948
|
|
|
17850
|
-
/**
|
|
17851
|
-
|
|
17949
|
+
/** ReplToken exp */
|
|
17950
|
+
exp?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
17852
17951
|
|
|
17853
|
-
/**
|
|
17854
|
-
|
|
17952
|
+
/** ReplToken salt */
|
|
17953
|
+
salt?: (string|null);
|
|
17855
17954
|
|
|
17856
|
-
/**
|
|
17857
|
-
|
|
17955
|
+
/** ReplToken cluster */
|
|
17956
|
+
cluster?: (string|null);
|
|
17858
17957
|
|
|
17859
|
-
/**
|
|
17860
|
-
|
|
17958
|
+
/** ReplToken persistence */
|
|
17959
|
+
persistence?: (replit.goval.api.repl.Persistence|null);
|
|
17861
17960
|
|
|
17862
|
-
/**
|
|
17863
|
-
|
|
17864
|
-
}
|
|
17961
|
+
/** ReplToken repl */
|
|
17962
|
+
repl?: (replit.goval.api.repl.Repl|replit.goval.api.repl.IRepl|null);
|
|
17865
17963
|
|
|
17866
|
-
|
|
17867
|
-
|
|
17964
|
+
/** ReplToken id */
|
|
17965
|
+
id?: (replit.goval.api.ReplToken.ReplID|replit.goval.api.ReplToken.IReplID|null);
|
|
17868
17966
|
|
|
17869
|
-
/**
|
|
17870
|
-
|
|
17871
|
-
* @param [properties] Properties to set
|
|
17872
|
-
*/
|
|
17873
|
-
private constructor(properties?: replit.goval.api.IRepl);
|
|
17967
|
+
/** ReplToken classroom */
|
|
17968
|
+
classroom?: (replit.goval.api.ReplToken.ClassroomMetadata|replit.goval.api.ReplToken.IClassroomMetadata|null);
|
|
17874
17969
|
|
|
17875
|
-
/**
|
|
17876
|
-
|
|
17970
|
+
/** ReplToken resourceLimits */
|
|
17971
|
+
resourceLimits?: (replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null);
|
|
17877
17972
|
|
|
17878
|
-
/**
|
|
17879
|
-
|
|
17973
|
+
/** ReplToken format */
|
|
17974
|
+
format?: (replit.goval.api.ReplToken.WireFormat|null);
|
|
17880
17975
|
|
|
17881
|
-
/**
|
|
17882
|
-
|
|
17976
|
+
/** ReplToken presenced */
|
|
17977
|
+
presenced?: (replit.goval.api.ReplToken.Presenced|replit.goval.api.ReplToken.IPresenced|null);
|
|
17883
17978
|
|
|
17884
|
-
/**
|
|
17885
|
-
|
|
17979
|
+
/** ReplToken flags */
|
|
17980
|
+
flags?: (string[]|null);
|
|
17886
17981
|
|
|
17887
|
-
/**
|
|
17888
|
-
|
|
17982
|
+
/** ReplToken permissions */
|
|
17983
|
+
permissions?: (replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null);
|
|
17889
17984
|
|
|
17890
|
-
/**
|
|
17891
|
-
|
|
17985
|
+
/** ReplToken features */
|
|
17986
|
+
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
17987
|
+
}
|
|
17892
17988
|
|
|
17893
|
-
|
|
17894
|
-
|
|
17989
|
+
/** Represents a ReplToken. */
|
|
17990
|
+
class ReplToken {
|
|
17895
17991
|
|
|
17896
17992
|
/**
|
|
17897
|
-
*
|
|
17993
|
+
* Constructs a new ReplToken.
|
|
17898
17994
|
* @param [properties] Properties to set
|
|
17899
|
-
* @returns Repl instance
|
|
17900
|
-
*/
|
|
17901
|
-
public static create(properties?: replit.goval.api.IRepl): replit.goval.api.Repl;
|
|
17902
|
-
|
|
17903
|
-
/**
|
|
17904
|
-
* Encodes the specified Repl message. Does not implicitly {@link replit.goval.api.Repl.verify|verify} messages.
|
|
17905
|
-
* @param message Repl message or plain object to encode
|
|
17906
|
-
* @param [writer] Writer to encode to
|
|
17907
|
-
* @returns Writer
|
|
17908
|
-
*/
|
|
17909
|
-
public static encode(message: replit.goval.api.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17910
|
-
|
|
17911
|
-
/**
|
|
17912
|
-
* Encodes the specified Repl message, length delimited. Does not implicitly {@link replit.goval.api.Repl.verify|verify} messages.
|
|
17913
|
-
* @param message Repl message or plain object to encode
|
|
17914
|
-
* @param [writer] Writer to encode to
|
|
17915
|
-
* @returns Writer
|
|
17916
|
-
*/
|
|
17917
|
-
public static encodeDelimited(message: replit.goval.api.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17918
|
-
|
|
17919
|
-
/**
|
|
17920
|
-
* Decodes a Repl message from the specified reader or buffer.
|
|
17921
|
-
* @param reader Reader or buffer to decode from
|
|
17922
|
-
* @param [length] Message length if known beforehand
|
|
17923
|
-
* @returns Repl
|
|
17924
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17925
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17926
|
-
*/
|
|
17927
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Repl;
|
|
17928
|
-
|
|
17929
|
-
/**
|
|
17930
|
-
* Decodes a Repl message from the specified reader or buffer, length delimited.
|
|
17931
|
-
* @param reader Reader or buffer to decode from
|
|
17932
|
-
* @returns Repl
|
|
17933
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17934
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17935
|
-
*/
|
|
17936
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Repl;
|
|
17937
|
-
|
|
17938
|
-
/**
|
|
17939
|
-
* Verifies a Repl message.
|
|
17940
|
-
* @param message Plain object to verify
|
|
17941
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
17942
|
-
*/
|
|
17943
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
17944
|
-
|
|
17945
|
-
/**
|
|
17946
|
-
* Creates a Repl message from a plain object. Also converts values to their respective internal types.
|
|
17947
|
-
* @param object Plain object
|
|
17948
|
-
* @returns Repl
|
|
17949
|
-
*/
|
|
17950
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.Repl;
|
|
17951
|
-
|
|
17952
|
-
/**
|
|
17953
|
-
* Creates a plain object from a Repl message. Also converts values to other types if specified.
|
|
17954
|
-
* @param message Repl
|
|
17955
|
-
* @param [options] Conversion options
|
|
17956
|
-
* @returns Plain object
|
|
17957
17995
|
*/
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
/**
|
|
17961
|
-
* Converts this Repl to JSON.
|
|
17962
|
-
* @returns JSON object
|
|
17963
|
-
*/
|
|
17964
|
-
public toJSON(): { [k: string]: any };
|
|
17965
|
-
}
|
|
17966
|
-
|
|
17967
|
-
/** Properties of a ResourceLimits. */
|
|
17968
|
-
interface IResourceLimits {
|
|
17969
|
-
|
|
17970
|
-
/** ResourceLimits net */
|
|
17971
|
-
net?: (boolean|null);
|
|
17972
|
-
|
|
17973
|
-
/** ResourceLimits memory */
|
|
17974
|
-
memory?: (number|null);
|
|
17975
|
-
|
|
17976
|
-
/** ResourceLimits threads */
|
|
17977
|
-
threads?: (number|null);
|
|
17996
|
+
private constructor(properties?: replit.goval.api.IReplToken);
|
|
17978
17997
|
|
|
17979
|
-
/**
|
|
17980
|
-
|
|
17998
|
+
/** ReplToken iat. */
|
|
17999
|
+
public iat?: (google.protobuf.Timestamp|null);
|
|
17981
18000
|
|
|
17982
|
-
/**
|
|
17983
|
-
|
|
18001
|
+
/** ReplToken exp. */
|
|
18002
|
+
public exp?: (google.protobuf.Timestamp|null);
|
|
17984
18003
|
|
|
17985
|
-
/**
|
|
17986
|
-
|
|
18004
|
+
/** ReplToken salt. */
|
|
18005
|
+
public salt: string;
|
|
17987
18006
|
|
|
17988
|
-
/**
|
|
17989
|
-
|
|
18007
|
+
/** ReplToken cluster. */
|
|
18008
|
+
public cluster: string;
|
|
17990
18009
|
|
|
17991
|
-
/**
|
|
17992
|
-
|
|
17993
|
-
}
|
|
18010
|
+
/** ReplToken persistence. */
|
|
18011
|
+
public persistence: replit.goval.api.repl.Persistence;
|
|
17994
18012
|
|
|
17995
|
-
|
|
17996
|
-
|
|
18013
|
+
/** ReplToken repl. */
|
|
18014
|
+
public repl?: (replit.goval.api.repl.Repl|null);
|
|
17997
18015
|
|
|
17998
|
-
/**
|
|
17999
|
-
|
|
18000
|
-
* @param [properties] Properties to set
|
|
18001
|
-
*/
|
|
18002
|
-
private constructor(properties?: replit.goval.api.IResourceLimits);
|
|
18016
|
+
/** ReplToken id. */
|
|
18017
|
+
public id?: (replit.goval.api.ReplToken.ReplID|null);
|
|
18003
18018
|
|
|
18004
|
-
/**
|
|
18005
|
-
public
|
|
18019
|
+
/** ReplToken classroom. */
|
|
18020
|
+
public classroom?: (replit.goval.api.ReplToken.ClassroomMetadata|null);
|
|
18006
18021
|
|
|
18007
|
-
/**
|
|
18008
|
-
public
|
|
18022
|
+
/** ReplToken resourceLimits. */
|
|
18023
|
+
public resourceLimits?: (replit.goval.api.repl.ResourceLimits|null);
|
|
18009
18024
|
|
|
18010
|
-
/**
|
|
18011
|
-
public
|
|
18025
|
+
/** ReplToken format. */
|
|
18026
|
+
public format: replit.goval.api.ReplToken.WireFormat;
|
|
18012
18027
|
|
|
18013
|
-
/**
|
|
18014
|
-
public
|
|
18028
|
+
/** ReplToken presenced. */
|
|
18029
|
+
public presenced?: (replit.goval.api.ReplToken.Presenced|null);
|
|
18015
18030
|
|
|
18016
|
-
/**
|
|
18017
|
-
public
|
|
18031
|
+
/** ReplToken flags. */
|
|
18032
|
+
public flags: string[];
|
|
18018
18033
|
|
|
18019
|
-
/**
|
|
18020
|
-
public
|
|
18034
|
+
/** ReplToken permissions. */
|
|
18035
|
+
public permissions?: (replit.goval.api.repl.Permissions|null);
|
|
18021
18036
|
|
|
18022
|
-
/**
|
|
18023
|
-
public
|
|
18037
|
+
/** ReplToken features. */
|
|
18038
|
+
public features: replit.goval.api.features.Feature[];
|
|
18024
18039
|
|
|
18025
|
-
/**
|
|
18026
|
-
public
|
|
18040
|
+
/** ReplToken metadata. */
|
|
18041
|
+
public metadata?: ("repl"|"id"|"classroom");
|
|
18027
18042
|
|
|
18028
18043
|
/**
|
|
18029
|
-
* Creates a new
|
|
18044
|
+
* Creates a new ReplToken instance using the specified properties.
|
|
18030
18045
|
* @param [properties] Properties to set
|
|
18031
|
-
* @returns
|
|
18046
|
+
* @returns ReplToken instance
|
|
18032
18047
|
*/
|
|
18033
|
-
public static create(properties?: replit.goval.api.
|
|
18048
|
+
public static create(properties?: replit.goval.api.IReplToken): replit.goval.api.ReplToken;
|
|
18034
18049
|
|
|
18035
18050
|
/**
|
|
18036
|
-
* Encodes the specified
|
|
18037
|
-
* @param message
|
|
18051
|
+
* Encodes the specified ReplToken message. Does not implicitly {@link replit.goval.api.ReplToken.verify|verify} messages.
|
|
18052
|
+
* @param message ReplToken message or plain object to encode
|
|
18038
18053
|
* @param [writer] Writer to encode to
|
|
18039
18054
|
* @returns Writer
|
|
18040
18055
|
*/
|
|
18041
|
-
public static encode(message: replit.goval.api.
|
|
18056
|
+
public static encode(message: replit.goval.api.ReplToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18042
18057
|
|
|
18043
18058
|
/**
|
|
18044
|
-
* Encodes the specified
|
|
18045
|
-
* @param message
|
|
18059
|
+
* Encodes the specified ReplToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplToken.verify|verify} messages.
|
|
18060
|
+
* @param message ReplToken message or plain object to encode
|
|
18046
18061
|
* @param [writer] Writer to encode to
|
|
18047
18062
|
* @returns Writer
|
|
18048
18063
|
*/
|
|
18049
|
-
public static encodeDelimited(message: replit.goval.api.
|
|
18064
|
+
public static encodeDelimited(message: replit.goval.api.ReplToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18050
18065
|
|
|
18051
18066
|
/**
|
|
18052
|
-
* Decodes a
|
|
18067
|
+
* Decodes a ReplToken message from the specified reader or buffer.
|
|
18053
18068
|
* @param reader Reader or buffer to decode from
|
|
18054
18069
|
* @param [length] Message length if known beforehand
|
|
18055
|
-
* @returns
|
|
18070
|
+
* @returns ReplToken
|
|
18056
18071
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18057
18072
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18058
18073
|
*/
|
|
18059
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.
|
|
18074
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplToken;
|
|
18060
18075
|
|
|
18061
18076
|
/**
|
|
18062
|
-
* Decodes a
|
|
18077
|
+
* Decodes a ReplToken message from the specified reader or buffer, length delimited.
|
|
18063
18078
|
* @param reader Reader or buffer to decode from
|
|
18064
|
-
* @returns
|
|
18079
|
+
* @returns ReplToken
|
|
18065
18080
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18066
18081
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18067
18082
|
*/
|
|
18068
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.
|
|
18083
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplToken;
|
|
18069
18084
|
|
|
18070
18085
|
/**
|
|
18071
|
-
* Verifies a
|
|
18086
|
+
* Verifies a ReplToken message.
|
|
18072
18087
|
* @param message Plain object to verify
|
|
18073
18088
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
18074
18089
|
*/
|
|
18075
18090
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
18076
18091
|
|
|
18077
18092
|
/**
|
|
18078
|
-
* Creates a
|
|
18093
|
+
* Creates a ReplToken message from a plain object. Also converts values to their respective internal types.
|
|
18079
18094
|
* @param object Plain object
|
|
18080
|
-
* @returns
|
|
18095
|
+
* @returns ReplToken
|
|
18081
18096
|
*/
|
|
18082
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.
|
|
18097
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplToken;
|
|
18083
18098
|
|
|
18084
18099
|
/**
|
|
18085
|
-
* Creates a plain object from a
|
|
18086
|
-
* @param message
|
|
18100
|
+
* Creates a plain object from a ReplToken message. Also converts values to other types if specified.
|
|
18101
|
+
* @param message ReplToken
|
|
18087
18102
|
* @param [options] Conversion options
|
|
18088
18103
|
* @returns Plain object
|
|
18089
18104
|
*/
|
|
18090
|
-
public static toObject(message: replit.goval.api.
|
|
18105
|
+
public static toObject(message: replit.goval.api.ReplToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18091
18106
|
|
|
18092
18107
|
/**
|
|
18093
|
-
* Converts this
|
|
18108
|
+
* Converts this ReplToken to JSON.
|
|
18094
18109
|
* @returns JSON object
|
|
18095
18110
|
*/
|
|
18096
18111
|
public toJSON(): { [k: string]: any };
|
|
18097
18112
|
}
|
|
18098
18113
|
|
|
18099
|
-
namespace
|
|
18100
|
-
|
|
18101
|
-
/** Cachability enum. */
|
|
18102
|
-
enum Cachability {
|
|
18103
|
-
NONE = 0,
|
|
18104
|
-
USER = 1,
|
|
18105
|
-
REPL = 2
|
|
18106
|
-
}
|
|
18107
|
-
}
|
|
18114
|
+
namespace ReplToken {
|
|
18108
18115
|
|
|
18109
|
-
|
|
18110
|
-
|
|
18116
|
+
/** Properties of a ClassroomMetadata. */
|
|
18117
|
+
interface IClassroomMetadata {
|
|
18111
18118
|
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
}
|
|
18119
|
+
/** ClassroomMetadata id */
|
|
18120
|
+
id?: (string|null);
|
|
18115
18121
|
|
|
18116
|
-
|
|
18117
|
-
|
|
18122
|
+
/** ClassroomMetadata language */
|
|
18123
|
+
language?: (string|null);
|
|
18124
|
+
}
|
|
18118
18125
|
|
|
18119
|
-
/**
|
|
18120
|
-
|
|
18121
|
-
* @param [properties] Properties to set
|
|
18122
|
-
*/
|
|
18123
|
-
private constructor(properties?: replit.goval.api.IPermissions);
|
|
18126
|
+
/** Represents a ClassroomMetadata. */
|
|
18127
|
+
class ClassroomMetadata {
|
|
18124
18128
|
|
|
18125
|
-
|
|
18126
|
-
|
|
18129
|
+
/**
|
|
18130
|
+
* Constructs a new ClassroomMetadata.
|
|
18131
|
+
* @param [properties] Properties to set
|
|
18132
|
+
*/
|
|
18133
|
+
private constructor(properties?: replit.goval.api.ReplToken.IClassroomMetadata);
|
|
18127
18134
|
|
|
18128
|
-
|
|
18129
|
-
|
|
18130
|
-
* @param [properties] Properties to set
|
|
18131
|
-
* @returns Permissions instance
|
|
18132
|
-
*/
|
|
18133
|
-
public static create(properties?: replit.goval.api.IPermissions): replit.goval.api.Permissions;
|
|
18135
|
+
/** ClassroomMetadata id. */
|
|
18136
|
+
public id: string;
|
|
18134
18137
|
|
|
18135
|
-
|
|
18136
|
-
|
|
18137
|
-
* @param message Permissions message or plain object to encode
|
|
18138
|
-
* @param [writer] Writer to encode to
|
|
18139
|
-
* @returns Writer
|
|
18140
|
-
*/
|
|
18141
|
-
public static encode(message: replit.goval.api.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18138
|
+
/** ClassroomMetadata language. */
|
|
18139
|
+
public language: string;
|
|
18142
18140
|
|
|
18143
|
-
|
|
18144
|
-
|
|
18145
|
-
|
|
18146
|
-
|
|
18147
|
-
|
|
18148
|
-
|
|
18149
|
-
public static encodeDelimited(message: replit.goval.api.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18150
|
-
|
|
18151
|
-
/**
|
|
18152
|
-
* Decodes a Permissions message from the specified reader or buffer.
|
|
18153
|
-
* @param reader Reader or buffer to decode from
|
|
18154
|
-
* @param [length] Message length if known beforehand
|
|
18155
|
-
* @returns Permissions
|
|
18156
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18157
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18158
|
-
*/
|
|
18159
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Permissions;
|
|
18160
|
-
|
|
18161
|
-
/**
|
|
18162
|
-
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
18163
|
-
* @param reader Reader or buffer to decode from
|
|
18164
|
-
* @returns Permissions
|
|
18165
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18166
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18167
|
-
*/
|
|
18168
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Permissions;
|
|
18169
|
-
|
|
18170
|
-
/**
|
|
18171
|
-
* Verifies a Permissions message.
|
|
18172
|
-
* @param message Plain object to verify
|
|
18173
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
18174
|
-
*/
|
|
18175
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
18176
|
-
|
|
18177
|
-
/**
|
|
18178
|
-
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
18179
|
-
* @param object Plain object
|
|
18180
|
-
* @returns Permissions
|
|
18181
|
-
*/
|
|
18182
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.Permissions;
|
|
18183
|
-
|
|
18184
|
-
/**
|
|
18185
|
-
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
18186
|
-
* @param message Permissions
|
|
18187
|
-
* @param [options] Conversion options
|
|
18188
|
-
* @returns Plain object
|
|
18189
|
-
*/
|
|
18190
|
-
public static toObject(message: replit.goval.api.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18191
|
-
|
|
18192
|
-
/**
|
|
18193
|
-
* Converts this Permissions to JSON.
|
|
18194
|
-
* @returns JSON object
|
|
18195
|
-
*/
|
|
18196
|
-
public toJSON(): { [k: string]: any };
|
|
18197
|
-
}
|
|
18198
|
-
|
|
18199
|
-
/** Properties of a ReplToken. */
|
|
18200
|
-
interface IReplToken {
|
|
18201
|
-
|
|
18202
|
-
/** ReplToken iat */
|
|
18203
|
-
iat?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
18204
|
-
|
|
18205
|
-
/** ReplToken exp */
|
|
18206
|
-
exp?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
18207
|
-
|
|
18208
|
-
/** ReplToken salt */
|
|
18209
|
-
salt?: (string|null);
|
|
18210
|
-
|
|
18211
|
-
/** ReplToken cluster */
|
|
18212
|
-
cluster?: (string|null);
|
|
18213
|
-
|
|
18214
|
-
/** ReplToken persistence */
|
|
18215
|
-
persistence?: (replit.goval.api.ReplToken.Persistence|null);
|
|
18216
|
-
|
|
18217
|
-
/** ReplToken repl */
|
|
18218
|
-
repl?: (replit.goval.api.Repl|replit.goval.api.IRepl|null);
|
|
18219
|
-
|
|
18220
|
-
/** ReplToken id */
|
|
18221
|
-
id?: (replit.goval.api.ReplToken.ReplID|replit.goval.api.ReplToken.IReplID|null);
|
|
18222
|
-
|
|
18223
|
-
/** ReplToken classroom */
|
|
18224
|
-
classroom?: (replit.goval.api.ReplToken.ClassroomMetadata|replit.goval.api.ReplToken.IClassroomMetadata|null);
|
|
18225
|
-
|
|
18226
|
-
/** ReplToken resourceLimits */
|
|
18227
|
-
resourceLimits?: (replit.goval.api.ResourceLimits|replit.goval.api.IResourceLimits|null);
|
|
18228
|
-
|
|
18229
|
-
/** ReplToken format */
|
|
18230
|
-
format?: (replit.goval.api.ReplToken.WireFormat|null);
|
|
18231
|
-
|
|
18232
|
-
/** ReplToken presenced */
|
|
18233
|
-
presenced?: (replit.goval.api.ReplToken.Presenced|replit.goval.api.ReplToken.IPresenced|null);
|
|
18234
|
-
|
|
18235
|
-
/** ReplToken flags */
|
|
18236
|
-
flags?: (string[]|null);
|
|
18237
|
-
|
|
18238
|
-
/** ReplToken permissions */
|
|
18239
|
-
permissions?: (replit.goval.api.Permissions|replit.goval.api.IPermissions|null);
|
|
18240
|
-
|
|
18241
|
-
/** ReplToken features */
|
|
18242
|
-
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
18243
|
-
}
|
|
18244
|
-
|
|
18245
|
-
/** Represents a ReplToken. */
|
|
18246
|
-
class ReplToken {
|
|
18247
|
-
|
|
18248
|
-
/**
|
|
18249
|
-
* Constructs a new ReplToken.
|
|
18250
|
-
* @param [properties] Properties to set
|
|
18251
|
-
*/
|
|
18252
|
-
private constructor(properties?: replit.goval.api.IReplToken);
|
|
18253
|
-
|
|
18254
|
-
/** ReplToken iat. */
|
|
18255
|
-
public iat?: (google.protobuf.Timestamp|null);
|
|
18256
|
-
|
|
18257
|
-
/** ReplToken exp. */
|
|
18258
|
-
public exp?: (google.protobuf.Timestamp|null);
|
|
18259
|
-
|
|
18260
|
-
/** ReplToken salt. */
|
|
18261
|
-
public salt: string;
|
|
18262
|
-
|
|
18263
|
-
/** ReplToken cluster. */
|
|
18264
|
-
public cluster: string;
|
|
18265
|
-
|
|
18266
|
-
/** ReplToken persistence. */
|
|
18267
|
-
public persistence: replit.goval.api.ReplToken.Persistence;
|
|
18268
|
-
|
|
18269
|
-
/** ReplToken repl. */
|
|
18270
|
-
public repl?: (replit.goval.api.Repl|null);
|
|
18271
|
-
|
|
18272
|
-
/** ReplToken id. */
|
|
18273
|
-
public id?: (replit.goval.api.ReplToken.ReplID|null);
|
|
18274
|
-
|
|
18275
|
-
/** ReplToken classroom. */
|
|
18276
|
-
public classroom?: (replit.goval.api.ReplToken.ClassroomMetadata|null);
|
|
18277
|
-
|
|
18278
|
-
/** ReplToken resourceLimits. */
|
|
18279
|
-
public resourceLimits?: (replit.goval.api.ResourceLimits|null);
|
|
18280
|
-
|
|
18281
|
-
/** ReplToken format. */
|
|
18282
|
-
public format: replit.goval.api.ReplToken.WireFormat;
|
|
18283
|
-
|
|
18284
|
-
/** ReplToken presenced. */
|
|
18285
|
-
public presenced?: (replit.goval.api.ReplToken.Presenced|null);
|
|
18286
|
-
|
|
18287
|
-
/** ReplToken flags. */
|
|
18288
|
-
public flags: string[];
|
|
18289
|
-
|
|
18290
|
-
/** ReplToken permissions. */
|
|
18291
|
-
public permissions?: (replit.goval.api.Permissions|null);
|
|
18292
|
-
|
|
18293
|
-
/** ReplToken features. */
|
|
18294
|
-
public features: replit.goval.api.features.Feature[];
|
|
18295
|
-
|
|
18296
|
-
/** ReplToken metadata. */
|
|
18297
|
-
public metadata?: ("repl"|"id"|"classroom");
|
|
18298
|
-
|
|
18299
|
-
/**
|
|
18300
|
-
* Creates a new ReplToken instance using the specified properties.
|
|
18301
|
-
* @param [properties] Properties to set
|
|
18302
|
-
* @returns ReplToken instance
|
|
18303
|
-
*/
|
|
18304
|
-
public static create(properties?: replit.goval.api.IReplToken): replit.goval.api.ReplToken;
|
|
18305
|
-
|
|
18306
|
-
/**
|
|
18307
|
-
* Encodes the specified ReplToken message. Does not implicitly {@link replit.goval.api.ReplToken.verify|verify} messages.
|
|
18308
|
-
* @param message ReplToken message or plain object to encode
|
|
18309
|
-
* @param [writer] Writer to encode to
|
|
18310
|
-
* @returns Writer
|
|
18311
|
-
*/
|
|
18312
|
-
public static encode(message: replit.goval.api.ReplToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18313
|
-
|
|
18314
|
-
/**
|
|
18315
|
-
* Encodes the specified ReplToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplToken.verify|verify} messages.
|
|
18316
|
-
* @param message ReplToken message or plain object to encode
|
|
18317
|
-
* @param [writer] Writer to encode to
|
|
18318
|
-
* @returns Writer
|
|
18319
|
-
*/
|
|
18320
|
-
public static encodeDelimited(message: replit.goval.api.ReplToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18321
|
-
|
|
18322
|
-
/**
|
|
18323
|
-
* Decodes a ReplToken message from the specified reader or buffer.
|
|
18324
|
-
* @param reader Reader or buffer to decode from
|
|
18325
|
-
* @param [length] Message length if known beforehand
|
|
18326
|
-
* @returns ReplToken
|
|
18327
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18328
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18329
|
-
*/
|
|
18330
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplToken;
|
|
18331
|
-
|
|
18332
|
-
/**
|
|
18333
|
-
* Decodes a ReplToken message from the specified reader or buffer, length delimited.
|
|
18334
|
-
* @param reader Reader or buffer to decode from
|
|
18335
|
-
* @returns ReplToken
|
|
18336
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18337
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18338
|
-
*/
|
|
18339
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplToken;
|
|
18340
|
-
|
|
18341
|
-
/**
|
|
18342
|
-
* Verifies a ReplToken message.
|
|
18343
|
-
* @param message Plain object to verify
|
|
18344
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
18345
|
-
*/
|
|
18346
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
18347
|
-
|
|
18348
|
-
/**
|
|
18349
|
-
* Creates a ReplToken message from a plain object. Also converts values to their respective internal types.
|
|
18350
|
-
* @param object Plain object
|
|
18351
|
-
* @returns ReplToken
|
|
18352
|
-
*/
|
|
18353
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplToken;
|
|
18354
|
-
|
|
18355
|
-
/**
|
|
18356
|
-
* Creates a plain object from a ReplToken message. Also converts values to other types if specified.
|
|
18357
|
-
* @param message ReplToken
|
|
18358
|
-
* @param [options] Conversion options
|
|
18359
|
-
* @returns Plain object
|
|
18360
|
-
*/
|
|
18361
|
-
public static toObject(message: replit.goval.api.ReplToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18362
|
-
|
|
18363
|
-
/**
|
|
18364
|
-
* Converts this ReplToken to JSON.
|
|
18365
|
-
* @returns JSON object
|
|
18366
|
-
*/
|
|
18367
|
-
public toJSON(): { [k: string]: any };
|
|
18368
|
-
}
|
|
18369
|
-
|
|
18370
|
-
namespace ReplToken {
|
|
18371
|
-
|
|
18372
|
-
/** Persistence enum. */
|
|
18373
|
-
enum Persistence {
|
|
18374
|
-
PERSISTENT = 0,
|
|
18375
|
-
EPHEMERAL = 1,
|
|
18376
|
-
NONE = 2
|
|
18377
|
-
}
|
|
18378
|
-
|
|
18379
|
-
/** Properties of a ClassroomMetadata. */
|
|
18380
|
-
interface IClassroomMetadata {
|
|
18381
|
-
|
|
18382
|
-
/** ClassroomMetadata id */
|
|
18383
|
-
id?: (string|null);
|
|
18384
|
-
|
|
18385
|
-
/** ClassroomMetadata language */
|
|
18386
|
-
language?: (string|null);
|
|
18387
|
-
}
|
|
18388
|
-
|
|
18389
|
-
/** Represents a ClassroomMetadata. */
|
|
18390
|
-
class ClassroomMetadata {
|
|
18391
|
-
|
|
18392
|
-
/**
|
|
18393
|
-
* Constructs a new ClassroomMetadata.
|
|
18394
|
-
* @param [properties] Properties to set
|
|
18395
|
-
*/
|
|
18396
|
-
private constructor(properties?: replit.goval.api.ReplToken.IClassroomMetadata);
|
|
18397
|
-
|
|
18398
|
-
/** ClassroomMetadata id. */
|
|
18399
|
-
public id: string;
|
|
18400
|
-
|
|
18401
|
-
/** ClassroomMetadata language. */
|
|
18402
|
-
public language: string;
|
|
18403
|
-
|
|
18404
|
-
/**
|
|
18405
|
-
* Creates a new ClassroomMetadata instance using the specified properties.
|
|
18406
|
-
* @param [properties] Properties to set
|
|
18407
|
-
* @returns ClassroomMetadata instance
|
|
18408
|
-
*/
|
|
18409
|
-
public static create(properties?: replit.goval.api.ReplToken.IClassroomMetadata): replit.goval.api.ReplToken.ClassroomMetadata;
|
|
18141
|
+
/**
|
|
18142
|
+
* Creates a new ClassroomMetadata instance using the specified properties.
|
|
18143
|
+
* @param [properties] Properties to set
|
|
18144
|
+
* @returns ClassroomMetadata instance
|
|
18145
|
+
*/
|
|
18146
|
+
public static create(properties?: replit.goval.api.ReplToken.IClassroomMetadata): replit.goval.api.ReplToken.ClassroomMetadata;
|
|
18410
18147
|
|
|
18411
18148
|
/**
|
|
18412
18149
|
* Encodes the specified ClassroomMetadata message. Does not implicitly {@link replit.goval.api.ReplToken.ClassroomMetadata.verify|verify} messages.
|
|
@@ -18771,13 +18508,13 @@ export namespace replit {
|
|
|
18771
18508
|
interface IReplTransfer {
|
|
18772
18509
|
|
|
18773
18510
|
/** ReplTransfer repl */
|
|
18774
|
-
repl?: (replit.goval.api.Repl|replit.goval.api.IRepl|null);
|
|
18511
|
+
repl?: (replit.goval.api.repl.Repl|replit.goval.api.repl.IRepl|null);
|
|
18775
18512
|
|
|
18776
18513
|
/** ReplTransfer replLimits */
|
|
18777
|
-
replLimits?: (replit.goval.api.ResourceLimits|replit.goval.api.IResourceLimits|null);
|
|
18514
|
+
replLimits?: (replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null);
|
|
18778
18515
|
|
|
18779
18516
|
/** ReplTransfer userLimits */
|
|
18780
|
-
userLimits?: (replit.goval.api.ResourceLimits|replit.goval.api.IResourceLimits|null);
|
|
18517
|
+
userLimits?: (replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null);
|
|
18781
18518
|
|
|
18782
18519
|
/** ReplTransfer customDomains */
|
|
18783
18520
|
customDomains?: (string[]|null);
|
|
@@ -18799,13 +18536,13 @@ export namespace replit {
|
|
|
18799
18536
|
private constructor(properties?: replit.goval.api.IReplTransfer);
|
|
18800
18537
|
|
|
18801
18538
|
/** ReplTransfer repl. */
|
|
18802
|
-
public repl?: (replit.goval.api.Repl|null);
|
|
18539
|
+
public repl?: (replit.goval.api.repl.Repl|null);
|
|
18803
18540
|
|
|
18804
18541
|
/** ReplTransfer replLimits. */
|
|
18805
|
-
public replLimits?: (replit.goval.api.ResourceLimits|null);
|
|
18542
|
+
public replLimits?: (replit.goval.api.repl.ResourceLimits|null);
|
|
18806
18543
|
|
|
18807
18544
|
/** ReplTransfer userLimits. */
|
|
18808
|
-
public userLimits?: (replit.goval.api.ResourceLimits|null);
|
|
18545
|
+
public userLimits?: (replit.goval.api.repl.ResourceLimits|null);
|
|
18809
18546
|
|
|
18810
18547
|
/** ReplTransfer customDomains. */
|
|
18811
18548
|
public customDomains: string[];
|
|
@@ -19405,6 +19142,7 @@ export namespace replit {
|
|
|
19405
19142
|
MINT_GOVAL_TOKEN = 0,
|
|
19406
19143
|
SIGN_INTERMEDIATE_CERT = 1,
|
|
19407
19144
|
IDENTITY = 5,
|
|
19145
|
+
GHOSTWRITER = 6,
|
|
19408
19146
|
ANY_REPLID = 2,
|
|
19409
19147
|
ANY_USER = 3,
|
|
19410
19148
|
ANY_CLUSTER = 4
|
|
@@ -19866,277 +19604,1270 @@ export namespace replit {
|
|
|
19866
19604
|
public toJSON(): { [k: string]: any };
|
|
19867
19605
|
}
|
|
19868
19606
|
|
|
19869
|
-
/**
|
|
19870
|
-
|
|
19607
|
+
/** Properties of a LoreCommand. */
|
|
19608
|
+
interface ILoreCommand {
|
|
19871
19609
|
|
|
19872
|
-
/**
|
|
19873
|
-
|
|
19874
|
-
}
|
|
19610
|
+
/** LoreCommand clusterTransfer */
|
|
19611
|
+
clusterTransfer?: (replit.goval.api.ClusterTransfer|replit.goval.api.IClusterTransfer|null);
|
|
19875
19612
|
|
|
19876
|
-
/**
|
|
19877
|
-
|
|
19613
|
+
/** LoreCommand softTakedown */
|
|
19614
|
+
softTakedown?: (replit.goval.api.SoftTakedown|replit.goval.api.ISoftTakedown|null);
|
|
19878
19615
|
|
|
19879
|
-
|
|
19880
|
-
|
|
19881
|
-
* @param [properties] Properties to set
|
|
19882
|
-
*/
|
|
19883
|
-
private constructor(properties?: replit.goval.api.features.IGpu);
|
|
19616
|
+
/** LoreCommand govalCommand */
|
|
19617
|
+
govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
|
|
19884
19618
|
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
* @returns Gpu instance
|
|
19889
|
-
*/
|
|
19890
|
-
public static create(properties?: replit.goval.api.features.IGpu): replit.goval.api.features.Gpu;
|
|
19619
|
+
/** LoreCommand restore */
|
|
19620
|
+
restore?: (replit.goval.api.Restore|replit.goval.api.IRestore|null);
|
|
19621
|
+
}
|
|
19891
19622
|
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19623
|
+
/** Represents a LoreCommand. */
|
|
19624
|
+
class LoreCommand {
|
|
19625
|
+
|
|
19626
|
+
/**
|
|
19627
|
+
* Constructs a new LoreCommand.
|
|
19628
|
+
* @param [properties] Properties to set
|
|
19629
|
+
*/
|
|
19630
|
+
private constructor(properties?: replit.goval.api.ILoreCommand);
|
|
19631
|
+
|
|
19632
|
+
/** LoreCommand clusterTransfer. */
|
|
19633
|
+
public clusterTransfer?: (replit.goval.api.ClusterTransfer|null);
|
|
19634
|
+
|
|
19635
|
+
/** LoreCommand softTakedown. */
|
|
19636
|
+
public softTakedown?: (replit.goval.api.SoftTakedown|null);
|
|
19637
|
+
|
|
19638
|
+
/** LoreCommand govalCommand. */
|
|
19639
|
+
public govalCommand?: (replit.goval.api.GovalCommand|null);
|
|
19640
|
+
|
|
19641
|
+
/** LoreCommand restore. */
|
|
19642
|
+
public restore?: (replit.goval.api.Restore|null);
|
|
19643
|
+
|
|
19644
|
+
/** LoreCommand command. */
|
|
19645
|
+
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"restore");
|
|
19646
|
+
|
|
19647
|
+
/**
|
|
19648
|
+
* Creates a new LoreCommand instance using the specified properties.
|
|
19649
|
+
* @param [properties] Properties to set
|
|
19650
|
+
* @returns LoreCommand instance
|
|
19651
|
+
*/
|
|
19652
|
+
public static create(properties?: replit.goval.api.ILoreCommand): replit.goval.api.LoreCommand;
|
|
19653
|
+
|
|
19654
|
+
/**
|
|
19655
|
+
* Encodes the specified LoreCommand message. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
|
|
19656
|
+
* @param message LoreCommand message or plain object to encode
|
|
19657
|
+
* @param [writer] Writer to encode to
|
|
19658
|
+
* @returns Writer
|
|
19659
|
+
*/
|
|
19660
|
+
public static encode(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19661
|
+
|
|
19662
|
+
/**
|
|
19663
|
+
* Encodes the specified LoreCommand message, length delimited. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
|
|
19664
|
+
* @param message LoreCommand message or plain object to encode
|
|
19665
|
+
* @param [writer] Writer to encode to
|
|
19666
|
+
* @returns Writer
|
|
19667
|
+
*/
|
|
19668
|
+
public static encodeDelimited(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19669
|
+
|
|
19670
|
+
/**
|
|
19671
|
+
* Decodes a LoreCommand message from the specified reader or buffer.
|
|
19672
|
+
* @param reader Reader or buffer to decode from
|
|
19673
|
+
* @param [length] Message length if known beforehand
|
|
19674
|
+
* @returns LoreCommand
|
|
19675
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19676
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19677
|
+
*/
|
|
19678
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.LoreCommand;
|
|
19679
|
+
|
|
19680
|
+
/**
|
|
19681
|
+
* Decodes a LoreCommand message from the specified reader or buffer, length delimited.
|
|
19682
|
+
* @param reader Reader or buffer to decode from
|
|
19683
|
+
* @returns LoreCommand
|
|
19684
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19685
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19686
|
+
*/
|
|
19687
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.LoreCommand;
|
|
19688
|
+
|
|
19689
|
+
/**
|
|
19690
|
+
* Verifies a LoreCommand message.
|
|
19691
|
+
* @param message Plain object to verify
|
|
19692
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19693
|
+
*/
|
|
19694
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19695
|
+
|
|
19696
|
+
/**
|
|
19697
|
+
* Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
|
|
19698
|
+
* @param object Plain object
|
|
19699
|
+
* @returns LoreCommand
|
|
19700
|
+
*/
|
|
19701
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.LoreCommand;
|
|
19702
|
+
|
|
19703
|
+
/**
|
|
19704
|
+
* Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
|
|
19705
|
+
* @param message LoreCommand
|
|
19706
|
+
* @param [options] Conversion options
|
|
19707
|
+
* @returns Plain object
|
|
19708
|
+
*/
|
|
19709
|
+
public static toObject(message: replit.goval.api.LoreCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19710
|
+
|
|
19711
|
+
/**
|
|
19712
|
+
* Converts this LoreCommand to JSON.
|
|
19713
|
+
* @returns JSON object
|
|
19714
|
+
*/
|
|
19715
|
+
public toJSON(): { [k: string]: any };
|
|
19716
|
+
}
|
|
19717
|
+
|
|
19718
|
+
/** Properties of a ClusterTransfer. */
|
|
19719
|
+
interface IClusterTransfer {
|
|
19720
|
+
|
|
19721
|
+
/** ClusterTransfer replId */
|
|
19722
|
+
replId?: (string|null);
|
|
19723
|
+
|
|
19724
|
+
/** ClusterTransfer user */
|
|
19725
|
+
user?: (string|null);
|
|
19726
|
+
|
|
19727
|
+
/** ClusterTransfer newClusterId */
|
|
19728
|
+
newClusterId?: (string|null);
|
|
19729
|
+
|
|
19730
|
+
/** ClusterTransfer transferId */
|
|
19731
|
+
transferId?: (string|null);
|
|
19732
|
+
}
|
|
19733
|
+
|
|
19734
|
+
/** Represents a ClusterTransfer. */
|
|
19735
|
+
class ClusterTransfer {
|
|
19736
|
+
|
|
19737
|
+
/**
|
|
19738
|
+
* Constructs a new ClusterTransfer.
|
|
19739
|
+
* @param [properties] Properties to set
|
|
19740
|
+
*/
|
|
19741
|
+
private constructor(properties?: replit.goval.api.IClusterTransfer);
|
|
19742
|
+
|
|
19743
|
+
/** ClusterTransfer replId. */
|
|
19744
|
+
public replId: string;
|
|
19745
|
+
|
|
19746
|
+
/** ClusterTransfer user. */
|
|
19747
|
+
public user: string;
|
|
19748
|
+
|
|
19749
|
+
/** ClusterTransfer newClusterId. */
|
|
19750
|
+
public newClusterId: string;
|
|
19751
|
+
|
|
19752
|
+
/** ClusterTransfer transferId. */
|
|
19753
|
+
public transferId: string;
|
|
19754
|
+
|
|
19755
|
+
/**
|
|
19756
|
+
* Creates a new ClusterTransfer instance using the specified properties.
|
|
19757
|
+
* @param [properties] Properties to set
|
|
19758
|
+
* @returns ClusterTransfer instance
|
|
19759
|
+
*/
|
|
19760
|
+
public static create(properties?: replit.goval.api.IClusterTransfer): replit.goval.api.ClusterTransfer;
|
|
19761
|
+
|
|
19762
|
+
/**
|
|
19763
|
+
* Encodes the specified ClusterTransfer message. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
|
|
19764
|
+
* @param message ClusterTransfer message or plain object to encode
|
|
19765
|
+
* @param [writer] Writer to encode to
|
|
19766
|
+
* @returns Writer
|
|
19767
|
+
*/
|
|
19768
|
+
public static encode(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19769
|
+
|
|
19770
|
+
/**
|
|
19771
|
+
* Encodes the specified ClusterTransfer message, length delimited. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
|
|
19772
|
+
* @param message ClusterTransfer message or plain object to encode
|
|
19773
|
+
* @param [writer] Writer to encode to
|
|
19774
|
+
* @returns Writer
|
|
19775
|
+
*/
|
|
19776
|
+
public static encodeDelimited(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19777
|
+
|
|
19778
|
+
/**
|
|
19779
|
+
* Decodes a ClusterTransfer message from the specified reader or buffer.
|
|
19780
|
+
* @param reader Reader or buffer to decode from
|
|
19781
|
+
* @param [length] Message length if known beforehand
|
|
19782
|
+
* @returns ClusterTransfer
|
|
19783
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19784
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19785
|
+
*/
|
|
19786
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ClusterTransfer;
|
|
19787
|
+
|
|
19788
|
+
/**
|
|
19789
|
+
* Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
|
|
19790
|
+
* @param reader Reader or buffer to decode from
|
|
19791
|
+
* @returns ClusterTransfer
|
|
19792
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19793
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19794
|
+
*/
|
|
19795
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ClusterTransfer;
|
|
19796
|
+
|
|
19797
|
+
/**
|
|
19798
|
+
* Verifies a ClusterTransfer message.
|
|
19799
|
+
* @param message Plain object to verify
|
|
19800
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19801
|
+
*/
|
|
19802
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19803
|
+
|
|
19804
|
+
/**
|
|
19805
|
+
* Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
|
|
19806
|
+
* @param object Plain object
|
|
19807
|
+
* @returns ClusterTransfer
|
|
19808
|
+
*/
|
|
19809
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ClusterTransfer;
|
|
19810
|
+
|
|
19811
|
+
/**
|
|
19812
|
+
* Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
|
|
19813
|
+
* @param message ClusterTransfer
|
|
19814
|
+
* @param [options] Conversion options
|
|
19815
|
+
* @returns Plain object
|
|
19816
|
+
*/
|
|
19817
|
+
public static toObject(message: replit.goval.api.ClusterTransfer, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19818
|
+
|
|
19819
|
+
/**
|
|
19820
|
+
* Converts this ClusterTransfer to JSON.
|
|
19821
|
+
* @returns JSON object
|
|
19822
|
+
*/
|
|
19823
|
+
public toJSON(): { [k: string]: any };
|
|
19824
|
+
}
|
|
19825
|
+
|
|
19826
|
+
/** Properties of a SoftTakedown. */
|
|
19827
|
+
interface ISoftTakedown {
|
|
19828
|
+
|
|
19829
|
+
/** SoftTakedown replId */
|
|
19830
|
+
replId?: (string|null);
|
|
19831
|
+
|
|
19832
|
+
/** SoftTakedown softTakedownId */
|
|
19833
|
+
softTakedownId?: (string|null);
|
|
19834
|
+
}
|
|
19835
|
+
|
|
19836
|
+
/** Represents a SoftTakedown. */
|
|
19837
|
+
class SoftTakedown {
|
|
19838
|
+
|
|
19839
|
+
/**
|
|
19840
|
+
* Constructs a new SoftTakedown.
|
|
19841
|
+
* @param [properties] Properties to set
|
|
19842
|
+
*/
|
|
19843
|
+
private constructor(properties?: replit.goval.api.ISoftTakedown);
|
|
19844
|
+
|
|
19845
|
+
/** SoftTakedown replId. */
|
|
19846
|
+
public replId: string;
|
|
19847
|
+
|
|
19848
|
+
/** SoftTakedown softTakedownId. */
|
|
19849
|
+
public softTakedownId: string;
|
|
19850
|
+
|
|
19851
|
+
/**
|
|
19852
|
+
* Creates a new SoftTakedown instance using the specified properties.
|
|
19853
|
+
* @param [properties] Properties to set
|
|
19854
|
+
* @returns SoftTakedown instance
|
|
19855
|
+
*/
|
|
19856
|
+
public static create(properties?: replit.goval.api.ISoftTakedown): replit.goval.api.SoftTakedown;
|
|
19857
|
+
|
|
19858
|
+
/**
|
|
19859
|
+
* Encodes the specified SoftTakedown message. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
|
|
19860
|
+
* @param message SoftTakedown message or plain object to encode
|
|
19861
|
+
* @param [writer] Writer to encode to
|
|
19862
|
+
* @returns Writer
|
|
19863
|
+
*/
|
|
19864
|
+
public static encode(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19865
|
+
|
|
19866
|
+
/**
|
|
19867
|
+
* Encodes the specified SoftTakedown message, length delimited. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
|
|
19868
|
+
* @param message SoftTakedown message or plain object to encode
|
|
19869
|
+
* @param [writer] Writer to encode to
|
|
19870
|
+
* @returns Writer
|
|
19871
|
+
*/
|
|
19872
|
+
public static encodeDelimited(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19873
|
+
|
|
19874
|
+
/**
|
|
19875
|
+
* Decodes a SoftTakedown message from the specified reader or buffer.
|
|
19876
|
+
* @param reader Reader or buffer to decode from
|
|
19877
|
+
* @param [length] Message length if known beforehand
|
|
19878
|
+
* @returns SoftTakedown
|
|
19879
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19880
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19881
|
+
*/
|
|
19882
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SoftTakedown;
|
|
19883
|
+
|
|
19884
|
+
/**
|
|
19885
|
+
* Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
|
|
19886
|
+
* @param reader Reader or buffer to decode from
|
|
19887
|
+
* @returns SoftTakedown
|
|
19888
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19889
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19890
|
+
*/
|
|
19891
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SoftTakedown;
|
|
19892
|
+
|
|
19893
|
+
/**
|
|
19894
|
+
* Verifies a SoftTakedown message.
|
|
19895
|
+
* @param message Plain object to verify
|
|
19896
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19897
|
+
*/
|
|
19898
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19899
|
+
|
|
19900
|
+
/**
|
|
19901
|
+
* Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
|
|
19902
|
+
* @param object Plain object
|
|
19903
|
+
* @returns SoftTakedown
|
|
19904
|
+
*/
|
|
19905
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.SoftTakedown;
|
|
19906
|
+
|
|
19907
|
+
/**
|
|
19908
|
+
* Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
|
|
19909
|
+
* @param message SoftTakedown
|
|
19910
|
+
* @param [options] Conversion options
|
|
19911
|
+
* @returns Plain object
|
|
19912
|
+
*/
|
|
19913
|
+
public static toObject(message: replit.goval.api.SoftTakedown, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19914
|
+
|
|
19915
|
+
/**
|
|
19916
|
+
* Converts this SoftTakedown to JSON.
|
|
19917
|
+
* @returns JSON object
|
|
19918
|
+
*/
|
|
19919
|
+
public toJSON(): { [k: string]: any };
|
|
19920
|
+
}
|
|
19921
|
+
|
|
19922
|
+
/** Properties of a GovalCommand. */
|
|
19923
|
+
interface IGovalCommand {
|
|
19924
|
+
|
|
19925
|
+
/** GovalCommand updateMetadata */
|
|
19926
|
+
updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
|
|
19927
|
+
}
|
|
19928
|
+
|
|
19929
|
+
/** Represents a GovalCommand. */
|
|
19930
|
+
class GovalCommand {
|
|
19931
|
+
|
|
19932
|
+
/**
|
|
19933
|
+
* Constructs a new GovalCommand.
|
|
19934
|
+
* @param [properties] Properties to set
|
|
19935
|
+
*/
|
|
19936
|
+
private constructor(properties?: replit.goval.api.IGovalCommand);
|
|
19937
|
+
|
|
19938
|
+
/** GovalCommand updateMetadata. */
|
|
19939
|
+
public updateMetadata?: (replit.goval.api.repl.Metadata|null);
|
|
19940
|
+
|
|
19941
|
+
/** GovalCommand command. */
|
|
19942
|
+
public command?: "updateMetadata";
|
|
19943
|
+
|
|
19944
|
+
/**
|
|
19945
|
+
* Creates a new GovalCommand instance using the specified properties.
|
|
19946
|
+
* @param [properties] Properties to set
|
|
19947
|
+
* @returns GovalCommand instance
|
|
19948
|
+
*/
|
|
19949
|
+
public static create(properties?: replit.goval.api.IGovalCommand): replit.goval.api.GovalCommand;
|
|
19950
|
+
|
|
19951
|
+
/**
|
|
19952
|
+
* Encodes the specified GovalCommand message. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
|
|
19953
|
+
* @param message GovalCommand message or plain object to encode
|
|
19954
|
+
* @param [writer] Writer to encode to
|
|
19955
|
+
* @returns Writer
|
|
19956
|
+
*/
|
|
19957
|
+
public static encode(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19958
|
+
|
|
19959
|
+
/**
|
|
19960
|
+
* Encodes the specified GovalCommand message, length delimited. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
|
|
19961
|
+
* @param message GovalCommand message or plain object to encode
|
|
19962
|
+
* @param [writer] Writer to encode to
|
|
19963
|
+
* @returns Writer
|
|
19964
|
+
*/
|
|
19965
|
+
public static encodeDelimited(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19966
|
+
|
|
19967
|
+
/**
|
|
19968
|
+
* Decodes a GovalCommand message from the specified reader or buffer.
|
|
19969
|
+
* @param reader Reader or buffer to decode from
|
|
19970
|
+
* @param [length] Message length if known beforehand
|
|
19971
|
+
* @returns GovalCommand
|
|
19972
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19973
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19974
|
+
*/
|
|
19975
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.GovalCommand;
|
|
19976
|
+
|
|
19977
|
+
/**
|
|
19978
|
+
* Decodes a GovalCommand message from the specified reader or buffer, length delimited.
|
|
19979
|
+
* @param reader Reader or buffer to decode from
|
|
19980
|
+
* @returns GovalCommand
|
|
19981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19983
|
+
*/
|
|
19984
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.GovalCommand;
|
|
19985
|
+
|
|
19986
|
+
/**
|
|
19987
|
+
* Verifies a GovalCommand message.
|
|
19988
|
+
* @param message Plain object to verify
|
|
19989
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19990
|
+
*/
|
|
19991
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19992
|
+
|
|
19993
|
+
/**
|
|
19994
|
+
* Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
|
|
19995
|
+
* @param object Plain object
|
|
19996
|
+
* @returns GovalCommand
|
|
19997
|
+
*/
|
|
19998
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.GovalCommand;
|
|
19999
|
+
|
|
20000
|
+
/**
|
|
20001
|
+
* Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
|
|
20002
|
+
* @param message GovalCommand
|
|
20003
|
+
* @param [options] Conversion options
|
|
20004
|
+
* @returns Plain object
|
|
20005
|
+
*/
|
|
20006
|
+
public static toObject(message: replit.goval.api.GovalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20007
|
+
|
|
20008
|
+
/**
|
|
20009
|
+
* Converts this GovalCommand to JSON.
|
|
20010
|
+
* @returns JSON object
|
|
20011
|
+
*/
|
|
20012
|
+
public toJSON(): { [k: string]: any };
|
|
20013
|
+
}
|
|
20014
|
+
|
|
20015
|
+
/** Properties of a Restore. */
|
|
20016
|
+
interface IRestore {
|
|
20017
|
+
|
|
20018
|
+
/** Restore replId */
|
|
20019
|
+
replId?: (string|null);
|
|
20020
|
+
|
|
20021
|
+
/** Restore restoreReplId */
|
|
20022
|
+
restoreReplId?: (string|null);
|
|
20023
|
+
}
|
|
20024
|
+
|
|
20025
|
+
/** Represents a Restore. */
|
|
20026
|
+
class Restore {
|
|
20027
|
+
|
|
20028
|
+
/**
|
|
20029
|
+
* Constructs a new Restore.
|
|
20030
|
+
* @param [properties] Properties to set
|
|
20031
|
+
*/
|
|
20032
|
+
private constructor(properties?: replit.goval.api.IRestore);
|
|
20033
|
+
|
|
20034
|
+
/** Restore replId. */
|
|
20035
|
+
public replId: string;
|
|
20036
|
+
|
|
20037
|
+
/** Restore restoreReplId. */
|
|
20038
|
+
public restoreReplId: string;
|
|
20039
|
+
|
|
20040
|
+
/**
|
|
20041
|
+
* Creates a new Restore instance using the specified properties.
|
|
20042
|
+
* @param [properties] Properties to set
|
|
20043
|
+
* @returns Restore instance
|
|
20044
|
+
*/
|
|
20045
|
+
public static create(properties?: replit.goval.api.IRestore): replit.goval.api.Restore;
|
|
20046
|
+
|
|
20047
|
+
/**
|
|
20048
|
+
* Encodes the specified Restore message. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
|
|
20049
|
+
* @param message Restore message or plain object to encode
|
|
20050
|
+
* @param [writer] Writer to encode to
|
|
20051
|
+
* @returns Writer
|
|
20052
|
+
*/
|
|
20053
|
+
public static encode(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20054
|
+
|
|
20055
|
+
/**
|
|
20056
|
+
* Encodes the specified Restore message, length delimited. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
|
|
20057
|
+
* @param message Restore message or plain object to encode
|
|
20058
|
+
* @param [writer] Writer to encode to
|
|
20059
|
+
* @returns Writer
|
|
20060
|
+
*/
|
|
20061
|
+
public static encodeDelimited(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20062
|
+
|
|
20063
|
+
/**
|
|
20064
|
+
* Decodes a Restore message from the specified reader or buffer.
|
|
20065
|
+
* @param reader Reader or buffer to decode from
|
|
20066
|
+
* @param [length] Message length if known beforehand
|
|
20067
|
+
* @returns Restore
|
|
20068
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20069
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20070
|
+
*/
|
|
20071
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Restore;
|
|
20072
|
+
|
|
20073
|
+
/**
|
|
20074
|
+
* Decodes a Restore message from the specified reader or buffer, length delimited.
|
|
20075
|
+
* @param reader Reader or buffer to decode from
|
|
20076
|
+
* @returns Restore
|
|
20077
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20078
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20079
|
+
*/
|
|
20080
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Restore;
|
|
20081
|
+
|
|
20082
|
+
/**
|
|
20083
|
+
* Verifies a Restore message.
|
|
20084
|
+
* @param message Plain object to verify
|
|
20085
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20086
|
+
*/
|
|
20087
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20088
|
+
|
|
20089
|
+
/**
|
|
20090
|
+
* Creates a Restore message from a plain object. Also converts values to their respective internal types.
|
|
20091
|
+
* @param object Plain object
|
|
20092
|
+
* @returns Restore
|
|
20093
|
+
*/
|
|
20094
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.Restore;
|
|
20095
|
+
|
|
20096
|
+
/**
|
|
20097
|
+
* Creates a plain object from a Restore message. Also converts values to other types if specified.
|
|
20098
|
+
* @param message Restore
|
|
20099
|
+
* @param [options] Conversion options
|
|
20100
|
+
* @returns Plain object
|
|
20101
|
+
*/
|
|
20102
|
+
public static toObject(message: replit.goval.api.Restore, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20103
|
+
|
|
20104
|
+
/**
|
|
20105
|
+
* Converts this Restore to JSON.
|
|
20106
|
+
* @returns JSON object
|
|
20107
|
+
*/
|
|
20108
|
+
public toJSON(): { [k: string]: any };
|
|
20109
|
+
}
|
|
20110
|
+
|
|
20111
|
+
/** Namespace features. */
|
|
20112
|
+
namespace features {
|
|
20113
|
+
|
|
20114
|
+
/** Properties of a Gpu. */
|
|
20115
|
+
interface IGpu {
|
|
20116
|
+
}
|
|
20117
|
+
|
|
20118
|
+
/** Represents a Gpu. */
|
|
20119
|
+
class Gpu {
|
|
20120
|
+
|
|
20121
|
+
/**
|
|
20122
|
+
* Constructs a new Gpu.
|
|
20123
|
+
* @param [properties] Properties to set
|
|
20124
|
+
*/
|
|
20125
|
+
private constructor(properties?: replit.goval.api.features.IGpu);
|
|
20126
|
+
|
|
20127
|
+
/**
|
|
20128
|
+
* Creates a new Gpu instance using the specified properties.
|
|
20129
|
+
* @param [properties] Properties to set
|
|
20130
|
+
* @returns Gpu instance
|
|
20131
|
+
*/
|
|
20132
|
+
public static create(properties?: replit.goval.api.features.IGpu): replit.goval.api.features.Gpu;
|
|
20133
|
+
|
|
20134
|
+
/**
|
|
20135
|
+
* Encodes the specified Gpu message. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
|
|
20136
|
+
* @param message Gpu message or plain object to encode
|
|
20137
|
+
* @param [writer] Writer to encode to
|
|
20138
|
+
* @returns Writer
|
|
20139
|
+
*/
|
|
20140
|
+
public static encode(message: replit.goval.api.features.Gpu, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20141
|
+
|
|
20142
|
+
/**
|
|
20143
|
+
* Encodes the specified Gpu message, length delimited. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
|
|
20144
|
+
* @param message Gpu message or plain object to encode
|
|
20145
|
+
* @param [writer] Writer to encode to
|
|
20146
|
+
* @returns Writer
|
|
20147
|
+
*/
|
|
20148
|
+
public static encodeDelimited(message: replit.goval.api.features.Gpu, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20149
|
+
|
|
20150
|
+
/**
|
|
20151
|
+
* Decodes a Gpu message from the specified reader or buffer.
|
|
20152
|
+
* @param reader Reader or buffer to decode from
|
|
20153
|
+
* @param [length] Message length if known beforehand
|
|
20154
|
+
* @returns Gpu
|
|
20155
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20156
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20157
|
+
*/
|
|
20158
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Gpu;
|
|
20159
|
+
|
|
20160
|
+
/**
|
|
20161
|
+
* Decodes a Gpu message from the specified reader or buffer, length delimited.
|
|
20162
|
+
* @param reader Reader or buffer to decode from
|
|
20163
|
+
* @returns Gpu
|
|
20164
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20165
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20166
|
+
*/
|
|
20167
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Gpu;
|
|
20168
|
+
|
|
20169
|
+
/**
|
|
20170
|
+
* Verifies a Gpu message.
|
|
20171
|
+
* @param message Plain object to verify
|
|
20172
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20173
|
+
*/
|
|
20174
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20175
|
+
|
|
20176
|
+
/**
|
|
20177
|
+
* Creates a Gpu message from a plain object. Also converts values to their respective internal types.
|
|
20178
|
+
* @param object Plain object
|
|
20179
|
+
* @returns Gpu
|
|
20180
|
+
*/
|
|
20181
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Gpu;
|
|
20182
|
+
|
|
20183
|
+
/**
|
|
20184
|
+
* Creates a plain object from a Gpu message. Also converts values to other types if specified.
|
|
20185
|
+
* @param message Gpu
|
|
20186
|
+
* @param [options] Conversion options
|
|
20187
|
+
* @returns Plain object
|
|
20188
|
+
*/
|
|
20189
|
+
public static toObject(message: replit.goval.api.features.Gpu, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20190
|
+
|
|
20191
|
+
/**
|
|
20192
|
+
* Converts this Gpu to JSON.
|
|
20193
|
+
* @returns JSON object
|
|
20194
|
+
*/
|
|
20195
|
+
public toJSON(): { [k: string]: any };
|
|
20196
|
+
}
|
|
20197
|
+
|
|
20198
|
+
/** Properties of a Boosted. */
|
|
20199
|
+
interface IBoosted {
|
|
20200
|
+
}
|
|
20201
|
+
|
|
20202
|
+
/** Represents a Boosted. */
|
|
20203
|
+
class Boosted {
|
|
20204
|
+
|
|
20205
|
+
/**
|
|
20206
|
+
* Constructs a new Boosted.
|
|
20207
|
+
* @param [properties] Properties to set
|
|
20208
|
+
*/
|
|
20209
|
+
private constructor(properties?: replit.goval.api.features.IBoosted);
|
|
20210
|
+
|
|
20211
|
+
/**
|
|
20212
|
+
* Creates a new Boosted instance using the specified properties.
|
|
20213
|
+
* @param [properties] Properties to set
|
|
20214
|
+
* @returns Boosted instance
|
|
20215
|
+
*/
|
|
20216
|
+
public static create(properties?: replit.goval.api.features.IBoosted): replit.goval.api.features.Boosted;
|
|
20217
|
+
|
|
20218
|
+
/**
|
|
20219
|
+
* Encodes the specified Boosted message. Does not implicitly {@link replit.goval.api.features.Boosted.verify|verify} messages.
|
|
20220
|
+
* @param message Boosted message or plain object to encode
|
|
20221
|
+
* @param [writer] Writer to encode to
|
|
20222
|
+
* @returns Writer
|
|
20223
|
+
*/
|
|
20224
|
+
public static encode(message: replit.goval.api.features.Boosted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20225
|
+
|
|
20226
|
+
/**
|
|
20227
|
+
* Encodes the specified Boosted message, length delimited. Does not implicitly {@link replit.goval.api.features.Boosted.verify|verify} messages.
|
|
20228
|
+
* @param message Boosted message or plain object to encode
|
|
20229
|
+
* @param [writer] Writer to encode to
|
|
20230
|
+
* @returns Writer
|
|
20231
|
+
*/
|
|
20232
|
+
public static encodeDelimited(message: replit.goval.api.features.Boosted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20233
|
+
|
|
20234
|
+
/**
|
|
20235
|
+
* Decodes a Boosted message from the specified reader or buffer.
|
|
20236
|
+
* @param reader Reader or buffer to decode from
|
|
20237
|
+
* @param [length] Message length if known beforehand
|
|
20238
|
+
* @returns Boosted
|
|
20239
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20240
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20241
|
+
*/
|
|
20242
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Boosted;
|
|
20243
|
+
|
|
20244
|
+
/**
|
|
20245
|
+
* Decodes a Boosted message from the specified reader or buffer, length delimited.
|
|
20246
|
+
* @param reader Reader or buffer to decode from
|
|
20247
|
+
* @returns Boosted
|
|
20248
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20249
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20250
|
+
*/
|
|
20251
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Boosted;
|
|
20252
|
+
|
|
20253
|
+
/**
|
|
20254
|
+
* Verifies a Boosted message.
|
|
20255
|
+
* @param message Plain object to verify
|
|
20256
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20257
|
+
*/
|
|
20258
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20259
|
+
|
|
20260
|
+
/**
|
|
20261
|
+
* Creates a Boosted message from a plain object. Also converts values to their respective internal types.
|
|
20262
|
+
* @param object Plain object
|
|
20263
|
+
* @returns Boosted
|
|
20264
|
+
*/
|
|
20265
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Boosted;
|
|
20266
|
+
|
|
20267
|
+
/**
|
|
20268
|
+
* Creates a plain object from a Boosted message. Also converts values to other types if specified.
|
|
20269
|
+
* @param message Boosted
|
|
20270
|
+
* @param [options] Conversion options
|
|
20271
|
+
* @returns Plain object
|
|
20272
|
+
*/
|
|
20273
|
+
public static toObject(message: replit.goval.api.features.Boosted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20274
|
+
|
|
20275
|
+
/**
|
|
20276
|
+
* Converts this Boosted to JSON.
|
|
20277
|
+
* @returns JSON object
|
|
20278
|
+
*/
|
|
20279
|
+
public toJSON(): { [k: string]: any };
|
|
20280
|
+
}
|
|
20281
|
+
|
|
20282
|
+
/** Properties of a Feature. */
|
|
20283
|
+
interface IFeature {
|
|
20284
|
+
|
|
20285
|
+
/** Feature gpu */
|
|
20286
|
+
gpu?: (replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null);
|
|
20287
|
+
|
|
20288
|
+
/** Feature boosted */
|
|
20289
|
+
boosted?: (replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null);
|
|
20290
|
+
|
|
20291
|
+
/** Feature required */
|
|
20292
|
+
required?: (boolean|null);
|
|
20293
|
+
}
|
|
20294
|
+
|
|
20295
|
+
/** Represents a Feature. */
|
|
20296
|
+
class Feature {
|
|
20297
|
+
|
|
20298
|
+
/**
|
|
20299
|
+
* Constructs a new Feature.
|
|
20300
|
+
* @param [properties] Properties to set
|
|
20301
|
+
*/
|
|
20302
|
+
private constructor(properties?: replit.goval.api.features.IFeature);
|
|
20303
|
+
|
|
20304
|
+
/** Feature gpu. */
|
|
20305
|
+
public gpu?: (replit.goval.api.features.Gpu|null);
|
|
20306
|
+
|
|
20307
|
+
/** Feature boosted. */
|
|
20308
|
+
public boosted?: (replit.goval.api.features.Boosted|null);
|
|
20309
|
+
|
|
20310
|
+
/** Feature required. */
|
|
20311
|
+
public required: boolean;
|
|
20312
|
+
|
|
20313
|
+
/** Feature feature. */
|
|
20314
|
+
public feature?: ("gpu"|"boosted");
|
|
20315
|
+
|
|
20316
|
+
/**
|
|
20317
|
+
* Creates a new Feature instance using the specified properties.
|
|
20318
|
+
* @param [properties] Properties to set
|
|
20319
|
+
* @returns Feature instance
|
|
20320
|
+
*/
|
|
20321
|
+
public static create(properties?: replit.goval.api.features.IFeature): replit.goval.api.features.Feature;
|
|
20322
|
+
|
|
20323
|
+
/**
|
|
20324
|
+
* Encodes the specified Feature message. Does not implicitly {@link replit.goval.api.features.Feature.verify|verify} messages.
|
|
20325
|
+
* @param message Feature message or plain object to encode
|
|
20326
|
+
* @param [writer] Writer to encode to
|
|
20327
|
+
* @returns Writer
|
|
20328
|
+
*/
|
|
20329
|
+
public static encode(message: replit.goval.api.features.Feature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20330
|
+
|
|
20331
|
+
/**
|
|
20332
|
+
* Encodes the specified Feature message, length delimited. Does not implicitly {@link replit.goval.api.features.Feature.verify|verify} messages.
|
|
20333
|
+
* @param message Feature message or plain object to encode
|
|
20334
|
+
* @param [writer] Writer to encode to
|
|
20335
|
+
* @returns Writer
|
|
20336
|
+
*/
|
|
20337
|
+
public static encodeDelimited(message: replit.goval.api.features.Feature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20338
|
+
|
|
20339
|
+
/**
|
|
20340
|
+
* Decodes a Feature message from the specified reader or buffer.
|
|
20341
|
+
* @param reader Reader or buffer to decode from
|
|
20342
|
+
* @param [length] Message length if known beforehand
|
|
20343
|
+
* @returns Feature
|
|
20344
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20345
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20346
|
+
*/
|
|
20347
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Feature;
|
|
20348
|
+
|
|
20349
|
+
/**
|
|
20350
|
+
* Decodes a Feature message from the specified reader or buffer, length delimited.
|
|
20351
|
+
* @param reader Reader or buffer to decode from
|
|
20352
|
+
* @returns Feature
|
|
20353
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20354
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20355
|
+
*/
|
|
20356
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Feature;
|
|
20357
|
+
|
|
20358
|
+
/**
|
|
20359
|
+
* Verifies a Feature message.
|
|
20360
|
+
* @param message Plain object to verify
|
|
20361
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20362
|
+
*/
|
|
20363
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20364
|
+
|
|
20365
|
+
/**
|
|
20366
|
+
* Creates a Feature message from a plain object. Also converts values to their respective internal types.
|
|
20367
|
+
* @param object Plain object
|
|
20368
|
+
* @returns Feature
|
|
20369
|
+
*/
|
|
20370
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Feature;
|
|
20371
|
+
|
|
20372
|
+
/**
|
|
20373
|
+
* Creates a plain object from a Feature message. Also converts values to other types if specified.
|
|
20374
|
+
* @param message Feature
|
|
20375
|
+
* @param [options] Conversion options
|
|
20376
|
+
* @returns Plain object
|
|
20377
|
+
*/
|
|
20378
|
+
public static toObject(message: replit.goval.api.features.Feature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20379
|
+
|
|
20380
|
+
/**
|
|
20381
|
+
* Converts this Feature to JSON.
|
|
20382
|
+
* @returns JSON object
|
|
20383
|
+
*/
|
|
20384
|
+
public toJSON(): { [k: string]: any };
|
|
20385
|
+
}
|
|
20386
|
+
}
|
|
20387
|
+
|
|
20388
|
+
/** Namespace repl. */
|
|
20389
|
+
namespace repl {
|
|
20390
|
+
|
|
20391
|
+
/** Properties of a Repl. */
|
|
20392
|
+
interface IRepl {
|
|
20393
|
+
|
|
20394
|
+
/** Repl id */
|
|
20395
|
+
id?: (string|null);
|
|
20396
|
+
|
|
20397
|
+
/** Repl language */
|
|
20398
|
+
language?: (string|null);
|
|
20399
|
+
|
|
20400
|
+
/** Repl bucket */
|
|
20401
|
+
bucket?: (string|null);
|
|
20402
|
+
|
|
20403
|
+
/** Repl slug */
|
|
20404
|
+
slug?: (string|null);
|
|
20405
|
+
|
|
20406
|
+
/** Repl user */
|
|
20407
|
+
user?: (string|null);
|
|
20408
|
+
|
|
20409
|
+
/** Repl sourceRepl */
|
|
20410
|
+
sourceRepl?: (string|null);
|
|
20411
|
+
|
|
20412
|
+
/** Repl database */
|
|
20413
|
+
database?: (string|null);
|
|
20414
|
+
}
|
|
20415
|
+
|
|
20416
|
+
/** Represents a Repl. */
|
|
20417
|
+
class Repl {
|
|
20418
|
+
|
|
20419
|
+
/**
|
|
20420
|
+
* Constructs a new Repl.
|
|
20421
|
+
* @param [properties] Properties to set
|
|
20422
|
+
*/
|
|
20423
|
+
private constructor(properties?: replit.goval.api.repl.IRepl);
|
|
20424
|
+
|
|
20425
|
+
/** Repl id. */
|
|
20426
|
+
public id: string;
|
|
20427
|
+
|
|
20428
|
+
/** Repl language. */
|
|
20429
|
+
public language: string;
|
|
20430
|
+
|
|
20431
|
+
/** Repl bucket. */
|
|
20432
|
+
public bucket: string;
|
|
20433
|
+
|
|
20434
|
+
/** Repl slug. */
|
|
20435
|
+
public slug: string;
|
|
20436
|
+
|
|
20437
|
+
/** Repl user. */
|
|
20438
|
+
public user: string;
|
|
20439
|
+
|
|
20440
|
+
/** Repl sourceRepl. */
|
|
20441
|
+
public sourceRepl: string;
|
|
20442
|
+
|
|
20443
|
+
/** Repl database. */
|
|
20444
|
+
public database: string;
|
|
20445
|
+
|
|
20446
|
+
/**
|
|
20447
|
+
* Creates a new Repl instance using the specified properties.
|
|
20448
|
+
* @param [properties] Properties to set
|
|
20449
|
+
* @returns Repl instance
|
|
20450
|
+
*/
|
|
20451
|
+
public static create(properties?: replit.goval.api.repl.IRepl): replit.goval.api.repl.Repl;
|
|
20452
|
+
|
|
20453
|
+
/**
|
|
20454
|
+
* Encodes the specified Repl message. Does not implicitly {@link replit.goval.api.repl.Repl.verify|verify} messages.
|
|
20455
|
+
* @param message Repl message or plain object to encode
|
|
20456
|
+
* @param [writer] Writer to encode to
|
|
19896
20457
|
* @returns Writer
|
|
19897
20458
|
*/
|
|
19898
|
-
public static encode(message: replit.goval.api.
|
|
20459
|
+
public static encode(message: replit.goval.api.repl.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19899
20460
|
|
|
19900
20461
|
/**
|
|
19901
|
-
* Encodes the specified
|
|
19902
|
-
* @param message
|
|
20462
|
+
* Encodes the specified Repl message, length delimited. Does not implicitly {@link replit.goval.api.repl.Repl.verify|verify} messages.
|
|
20463
|
+
* @param message Repl message or plain object to encode
|
|
19903
20464
|
* @param [writer] Writer to encode to
|
|
19904
20465
|
* @returns Writer
|
|
19905
20466
|
*/
|
|
19906
|
-
public static encodeDelimited(message: replit.goval.api.
|
|
20467
|
+
public static encodeDelimited(message: replit.goval.api.repl.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19907
20468
|
|
|
19908
20469
|
/**
|
|
19909
|
-
* Decodes a
|
|
20470
|
+
* Decodes a Repl message from the specified reader or buffer.
|
|
19910
20471
|
* @param reader Reader or buffer to decode from
|
|
19911
20472
|
* @param [length] Message length if known beforehand
|
|
19912
|
-
* @returns
|
|
20473
|
+
* @returns Repl
|
|
19913
20474
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19914
20475
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19915
20476
|
*/
|
|
19916
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.
|
|
20477
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Repl;
|
|
19917
20478
|
|
|
19918
20479
|
/**
|
|
19919
|
-
* Decodes a
|
|
20480
|
+
* Decodes a Repl message from the specified reader or buffer, length delimited.
|
|
19920
20481
|
* @param reader Reader or buffer to decode from
|
|
19921
|
-
* @returns
|
|
20482
|
+
* @returns Repl
|
|
19922
20483
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19923
20484
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19924
20485
|
*/
|
|
19925
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.
|
|
20486
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Repl;
|
|
19926
20487
|
|
|
19927
20488
|
/**
|
|
19928
|
-
* Verifies a
|
|
20489
|
+
* Verifies a Repl message.
|
|
19929
20490
|
* @param message Plain object to verify
|
|
19930
20491
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
19931
20492
|
*/
|
|
19932
20493
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
19933
20494
|
|
|
19934
20495
|
/**
|
|
19935
|
-
* Creates a
|
|
20496
|
+
* Creates a Repl message from a plain object. Also converts values to their respective internal types.
|
|
19936
20497
|
* @param object Plain object
|
|
19937
|
-
* @returns
|
|
20498
|
+
* @returns Repl
|
|
19938
20499
|
*/
|
|
19939
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.
|
|
20500
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Repl;
|
|
19940
20501
|
|
|
19941
20502
|
/**
|
|
19942
|
-
* Creates a plain object from a
|
|
19943
|
-
* @param message
|
|
20503
|
+
* Creates a plain object from a Repl message. Also converts values to other types if specified.
|
|
20504
|
+
* @param message Repl
|
|
19944
20505
|
* @param [options] Conversion options
|
|
19945
20506
|
* @returns Plain object
|
|
19946
20507
|
*/
|
|
19947
|
-
public static toObject(message: replit.goval.api.
|
|
20508
|
+
public static toObject(message: replit.goval.api.repl.Repl, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19948
20509
|
|
|
19949
20510
|
/**
|
|
19950
|
-
* Converts this
|
|
20511
|
+
* Converts this Repl to JSON.
|
|
19951
20512
|
* @returns JSON object
|
|
19952
20513
|
*/
|
|
19953
20514
|
public toJSON(): { [k: string]: any };
|
|
19954
20515
|
}
|
|
19955
20516
|
|
|
19956
|
-
/** Properties of a
|
|
19957
|
-
interface
|
|
20517
|
+
/** Properties of a ResourceLimits. */
|
|
20518
|
+
interface IResourceLimits {
|
|
20519
|
+
|
|
20520
|
+
/** ResourceLimits net */
|
|
20521
|
+
net?: (boolean|null);
|
|
20522
|
+
|
|
20523
|
+
/** ResourceLimits memory */
|
|
20524
|
+
memory?: (number|null);
|
|
20525
|
+
|
|
20526
|
+
/** ResourceLimits threads */
|
|
20527
|
+
threads?: (number|null);
|
|
20528
|
+
|
|
20529
|
+
/** ResourceLimits shares */
|
|
20530
|
+
shares?: (number|null);
|
|
20531
|
+
|
|
20532
|
+
/** ResourceLimits disk */
|
|
20533
|
+
disk?: (number|null);
|
|
20534
|
+
|
|
20535
|
+
/** ResourceLimits cache */
|
|
20536
|
+
cache?: (replit.goval.api.repl.ResourceLimits.Cachability|null);
|
|
20537
|
+
|
|
20538
|
+
/** ResourceLimits restrictNetwork */
|
|
20539
|
+
restrictNetwork?: (boolean|null);
|
|
20540
|
+
|
|
20541
|
+
/** ResourceLimits preventWakeup */
|
|
20542
|
+
preventWakeup?: (boolean|null);
|
|
19958
20543
|
}
|
|
19959
20544
|
|
|
19960
|
-
/** Represents a
|
|
19961
|
-
class
|
|
20545
|
+
/** Represents a ResourceLimits. */
|
|
20546
|
+
class ResourceLimits {
|
|
19962
20547
|
|
|
19963
20548
|
/**
|
|
19964
|
-
* Constructs a new
|
|
20549
|
+
* Constructs a new ResourceLimits.
|
|
19965
20550
|
* @param [properties] Properties to set
|
|
19966
20551
|
*/
|
|
19967
|
-
private constructor(properties?: replit.goval.api.
|
|
20552
|
+
private constructor(properties?: replit.goval.api.repl.IResourceLimits);
|
|
20553
|
+
|
|
20554
|
+
/** ResourceLimits net. */
|
|
20555
|
+
public net: boolean;
|
|
20556
|
+
|
|
20557
|
+
/** ResourceLimits memory. */
|
|
20558
|
+
public memory: number;
|
|
20559
|
+
|
|
20560
|
+
/** ResourceLimits threads. */
|
|
20561
|
+
public threads: number;
|
|
20562
|
+
|
|
20563
|
+
/** ResourceLimits shares. */
|
|
20564
|
+
public shares: number;
|
|
20565
|
+
|
|
20566
|
+
/** ResourceLimits disk. */
|
|
20567
|
+
public disk: number;
|
|
20568
|
+
|
|
20569
|
+
/** ResourceLimits cache. */
|
|
20570
|
+
public cache: replit.goval.api.repl.ResourceLimits.Cachability;
|
|
20571
|
+
|
|
20572
|
+
/** ResourceLimits restrictNetwork. */
|
|
20573
|
+
public restrictNetwork: boolean;
|
|
20574
|
+
|
|
20575
|
+
/** ResourceLimits preventWakeup. */
|
|
20576
|
+
public preventWakeup: boolean;
|
|
19968
20577
|
|
|
19969
20578
|
/**
|
|
19970
|
-
* Creates a new
|
|
20579
|
+
* Creates a new ResourceLimits instance using the specified properties.
|
|
19971
20580
|
* @param [properties] Properties to set
|
|
19972
|
-
* @returns
|
|
20581
|
+
* @returns ResourceLimits instance
|
|
19973
20582
|
*/
|
|
19974
|
-
public static create(properties?: replit.goval.api.
|
|
20583
|
+
public static create(properties?: replit.goval.api.repl.IResourceLimits): replit.goval.api.repl.ResourceLimits;
|
|
19975
20584
|
|
|
19976
20585
|
/**
|
|
19977
|
-
* Encodes the specified
|
|
19978
|
-
* @param message
|
|
20586
|
+
* Encodes the specified ResourceLimits message. Does not implicitly {@link replit.goval.api.repl.ResourceLimits.verify|verify} messages.
|
|
20587
|
+
* @param message ResourceLimits message or plain object to encode
|
|
19979
20588
|
* @param [writer] Writer to encode to
|
|
19980
20589
|
* @returns Writer
|
|
19981
20590
|
*/
|
|
19982
|
-
public static encode(message: replit.goval.api.
|
|
20591
|
+
public static encode(message: replit.goval.api.repl.ResourceLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19983
20592
|
|
|
19984
20593
|
/**
|
|
19985
|
-
* Encodes the specified
|
|
19986
|
-
* @param message
|
|
20594
|
+
* Encodes the specified ResourceLimits message, length delimited. Does not implicitly {@link replit.goval.api.repl.ResourceLimits.verify|verify} messages.
|
|
20595
|
+
* @param message ResourceLimits message or plain object to encode
|
|
19987
20596
|
* @param [writer] Writer to encode to
|
|
19988
20597
|
* @returns Writer
|
|
19989
20598
|
*/
|
|
19990
|
-
public static encodeDelimited(message: replit.goval.api.
|
|
20599
|
+
public static encodeDelimited(message: replit.goval.api.repl.ResourceLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19991
20600
|
|
|
19992
20601
|
/**
|
|
19993
|
-
* Decodes a
|
|
20602
|
+
* Decodes a ResourceLimits message from the specified reader or buffer.
|
|
19994
20603
|
* @param reader Reader or buffer to decode from
|
|
19995
20604
|
* @param [length] Message length if known beforehand
|
|
19996
|
-
* @returns
|
|
20605
|
+
* @returns ResourceLimits
|
|
19997
20606
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19998
20607
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19999
20608
|
*/
|
|
20000
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.
|
|
20609
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.ResourceLimits;
|
|
20001
20610
|
|
|
20002
20611
|
/**
|
|
20003
|
-
* Decodes a
|
|
20612
|
+
* Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
|
|
20004
20613
|
* @param reader Reader or buffer to decode from
|
|
20005
|
-
* @returns
|
|
20614
|
+
* @returns ResourceLimits
|
|
20006
20615
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20007
20616
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20008
20617
|
*/
|
|
20009
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.
|
|
20618
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.ResourceLimits;
|
|
20010
20619
|
|
|
20011
20620
|
/**
|
|
20012
|
-
* Verifies a
|
|
20621
|
+
* Verifies a ResourceLimits message.
|
|
20013
20622
|
* @param message Plain object to verify
|
|
20014
20623
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
20015
20624
|
*/
|
|
20016
20625
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
20017
20626
|
|
|
20018
20627
|
/**
|
|
20019
|
-
* Creates a
|
|
20628
|
+
* Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
|
|
20020
20629
|
* @param object Plain object
|
|
20021
|
-
* @returns
|
|
20630
|
+
* @returns ResourceLimits
|
|
20022
20631
|
*/
|
|
20023
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.
|
|
20632
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.ResourceLimits;
|
|
20024
20633
|
|
|
20025
20634
|
/**
|
|
20026
|
-
* Creates a plain object from a
|
|
20027
|
-
* @param message
|
|
20635
|
+
* Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
|
|
20636
|
+
* @param message ResourceLimits
|
|
20028
20637
|
* @param [options] Conversion options
|
|
20029
20638
|
* @returns Plain object
|
|
20030
20639
|
*/
|
|
20031
|
-
public static toObject(message: replit.goval.api.
|
|
20640
|
+
public static toObject(message: replit.goval.api.repl.ResourceLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20032
20641
|
|
|
20033
20642
|
/**
|
|
20034
|
-
* Converts this
|
|
20643
|
+
* Converts this ResourceLimits to JSON.
|
|
20035
20644
|
* @returns JSON object
|
|
20036
20645
|
*/
|
|
20037
20646
|
public toJSON(): { [k: string]: any };
|
|
20038
20647
|
}
|
|
20039
20648
|
|
|
20040
|
-
|
|
20041
|
-
interface IFeature {
|
|
20649
|
+
namespace ResourceLimits {
|
|
20042
20650
|
|
|
20043
|
-
/**
|
|
20044
|
-
|
|
20651
|
+
/** Cachability enum. */
|
|
20652
|
+
enum Cachability {
|
|
20653
|
+
NONE = 0,
|
|
20654
|
+
USER = 1,
|
|
20655
|
+
REPL = 2
|
|
20656
|
+
}
|
|
20657
|
+
}
|
|
20045
20658
|
|
|
20046
|
-
|
|
20047
|
-
|
|
20659
|
+
/** Properties of a Permissions. */
|
|
20660
|
+
interface IPermissions {
|
|
20048
20661
|
|
|
20049
|
-
/**
|
|
20050
|
-
|
|
20662
|
+
/** Permissions toggleAlwaysOn */
|
|
20663
|
+
toggleAlwaysOn?: (boolean|null);
|
|
20051
20664
|
}
|
|
20052
20665
|
|
|
20053
|
-
/** Represents a
|
|
20054
|
-
class
|
|
20666
|
+
/** Represents a Permissions. */
|
|
20667
|
+
class Permissions {
|
|
20055
20668
|
|
|
20056
20669
|
/**
|
|
20057
|
-
* Constructs a new
|
|
20670
|
+
* Constructs a new Permissions.
|
|
20058
20671
|
* @param [properties] Properties to set
|
|
20059
20672
|
*/
|
|
20060
|
-
private constructor(properties?: replit.goval.api.
|
|
20673
|
+
private constructor(properties?: replit.goval.api.repl.IPermissions);
|
|
20061
20674
|
|
|
20062
|
-
/**
|
|
20063
|
-
public
|
|
20675
|
+
/** Permissions toggleAlwaysOn. */
|
|
20676
|
+
public toggleAlwaysOn: boolean;
|
|
20064
20677
|
|
|
20065
|
-
/**
|
|
20066
|
-
|
|
20678
|
+
/**
|
|
20679
|
+
* Creates a new Permissions instance using the specified properties.
|
|
20680
|
+
* @param [properties] Properties to set
|
|
20681
|
+
* @returns Permissions instance
|
|
20682
|
+
*/
|
|
20683
|
+
public static create(properties?: replit.goval.api.repl.IPermissions): replit.goval.api.repl.Permissions;
|
|
20067
20684
|
|
|
20068
|
-
/**
|
|
20069
|
-
|
|
20685
|
+
/**
|
|
20686
|
+
* Encodes the specified Permissions message. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
20687
|
+
* @param message Permissions message or plain object to encode
|
|
20688
|
+
* @param [writer] Writer to encode to
|
|
20689
|
+
* @returns Writer
|
|
20690
|
+
*/
|
|
20691
|
+
public static encode(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20070
20692
|
|
|
20071
|
-
/**
|
|
20072
|
-
|
|
20693
|
+
/**
|
|
20694
|
+
* Encodes the specified Permissions message, length delimited. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
20695
|
+
* @param message Permissions message or plain object to encode
|
|
20696
|
+
* @param [writer] Writer to encode to
|
|
20697
|
+
* @returns Writer
|
|
20698
|
+
*/
|
|
20699
|
+
public static encodeDelimited(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20073
20700
|
|
|
20074
20701
|
/**
|
|
20075
|
-
*
|
|
20702
|
+
* Decodes a Permissions message from the specified reader or buffer.
|
|
20703
|
+
* @param reader Reader or buffer to decode from
|
|
20704
|
+
* @param [length] Message length if known beforehand
|
|
20705
|
+
* @returns Permissions
|
|
20706
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20707
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20708
|
+
*/
|
|
20709
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Permissions;
|
|
20710
|
+
|
|
20711
|
+
/**
|
|
20712
|
+
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
20713
|
+
* @param reader Reader or buffer to decode from
|
|
20714
|
+
* @returns Permissions
|
|
20715
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20716
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20717
|
+
*/
|
|
20718
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Permissions;
|
|
20719
|
+
|
|
20720
|
+
/**
|
|
20721
|
+
* Verifies a Permissions message.
|
|
20722
|
+
* @param message Plain object to verify
|
|
20723
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20724
|
+
*/
|
|
20725
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20726
|
+
|
|
20727
|
+
/**
|
|
20728
|
+
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
20729
|
+
* @param object Plain object
|
|
20730
|
+
* @returns Permissions
|
|
20731
|
+
*/
|
|
20732
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Permissions;
|
|
20733
|
+
|
|
20734
|
+
/**
|
|
20735
|
+
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
20736
|
+
* @param message Permissions
|
|
20737
|
+
* @param [options] Conversion options
|
|
20738
|
+
* @returns Plain object
|
|
20739
|
+
*/
|
|
20740
|
+
public static toObject(message: replit.goval.api.repl.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20741
|
+
|
|
20742
|
+
/**
|
|
20743
|
+
* Converts this Permissions to JSON.
|
|
20744
|
+
* @returns JSON object
|
|
20745
|
+
*/
|
|
20746
|
+
public toJSON(): { [k: string]: any };
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20749
|
+
/** Persistence enum. */
|
|
20750
|
+
enum Persistence {
|
|
20751
|
+
PERSISTENT = 0,
|
|
20752
|
+
EPHEMERAL = 1,
|
|
20753
|
+
NONE = 2
|
|
20754
|
+
}
|
|
20755
|
+
|
|
20756
|
+
/** Properties of a Metadata. */
|
|
20757
|
+
interface IMetadata {
|
|
20758
|
+
|
|
20759
|
+
/** Metadata repl */
|
|
20760
|
+
repl?: (replit.goval.api.repl.Repl|replit.goval.api.repl.IRepl|null);
|
|
20761
|
+
|
|
20762
|
+
/** Metadata resourceLimits */
|
|
20763
|
+
resourceLimits?: (replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null);
|
|
20764
|
+
|
|
20765
|
+
/** Metadata persistence */
|
|
20766
|
+
persistence?: (replit.goval.api.repl.Persistence|null);
|
|
20767
|
+
|
|
20768
|
+
/** Metadata flags */
|
|
20769
|
+
flags?: (string[]|null);
|
|
20770
|
+
|
|
20771
|
+
/** Metadata permissions */
|
|
20772
|
+
permissions?: (replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null);
|
|
20773
|
+
|
|
20774
|
+
/** Metadata features */
|
|
20775
|
+
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
20776
|
+
}
|
|
20777
|
+
|
|
20778
|
+
/** Represents a Metadata. */
|
|
20779
|
+
class Metadata {
|
|
20780
|
+
|
|
20781
|
+
/**
|
|
20782
|
+
* Constructs a new Metadata.
|
|
20076
20783
|
* @param [properties] Properties to set
|
|
20077
|
-
* @returns Feature instance
|
|
20078
20784
|
*/
|
|
20079
|
-
|
|
20785
|
+
private constructor(properties?: replit.goval.api.repl.IMetadata);
|
|
20786
|
+
|
|
20787
|
+
/** Metadata repl. */
|
|
20788
|
+
public repl?: (replit.goval.api.repl.Repl|null);
|
|
20789
|
+
|
|
20790
|
+
/** Metadata resourceLimits. */
|
|
20791
|
+
public resourceLimits?: (replit.goval.api.repl.ResourceLimits|null);
|
|
20792
|
+
|
|
20793
|
+
/** Metadata persistence. */
|
|
20794
|
+
public persistence: replit.goval.api.repl.Persistence;
|
|
20795
|
+
|
|
20796
|
+
/** Metadata flags. */
|
|
20797
|
+
public flags: string[];
|
|
20798
|
+
|
|
20799
|
+
/** Metadata permissions. */
|
|
20800
|
+
public permissions?: (replit.goval.api.repl.Permissions|null);
|
|
20801
|
+
|
|
20802
|
+
/** Metadata features. */
|
|
20803
|
+
public features: replit.goval.api.features.Feature[];
|
|
20080
20804
|
|
|
20081
20805
|
/**
|
|
20082
|
-
*
|
|
20083
|
-
* @param
|
|
20806
|
+
* Creates a new Metadata instance using the specified properties.
|
|
20807
|
+
* @param [properties] Properties to set
|
|
20808
|
+
* @returns Metadata instance
|
|
20809
|
+
*/
|
|
20810
|
+
public static create(properties?: replit.goval.api.repl.IMetadata): replit.goval.api.repl.Metadata;
|
|
20811
|
+
|
|
20812
|
+
/**
|
|
20813
|
+
* Encodes the specified Metadata message. Does not implicitly {@link replit.goval.api.repl.Metadata.verify|verify} messages.
|
|
20814
|
+
* @param message Metadata message or plain object to encode
|
|
20084
20815
|
* @param [writer] Writer to encode to
|
|
20085
20816
|
* @returns Writer
|
|
20086
20817
|
*/
|
|
20087
|
-
public static encode(message: replit.goval.api.
|
|
20818
|
+
public static encode(message: replit.goval.api.repl.Metadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20088
20819
|
|
|
20089
20820
|
/**
|
|
20090
|
-
* Encodes the specified
|
|
20091
|
-
* @param message
|
|
20821
|
+
* Encodes the specified Metadata message, length delimited. Does not implicitly {@link replit.goval.api.repl.Metadata.verify|verify} messages.
|
|
20822
|
+
* @param message Metadata message or plain object to encode
|
|
20092
20823
|
* @param [writer] Writer to encode to
|
|
20093
20824
|
* @returns Writer
|
|
20094
20825
|
*/
|
|
20095
|
-
public static encodeDelimited(message: replit.goval.api.
|
|
20826
|
+
public static encodeDelimited(message: replit.goval.api.repl.Metadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20096
20827
|
|
|
20097
20828
|
/**
|
|
20098
|
-
* Decodes a
|
|
20829
|
+
* Decodes a Metadata message from the specified reader or buffer.
|
|
20099
20830
|
* @param reader Reader or buffer to decode from
|
|
20100
20831
|
* @param [length] Message length if known beforehand
|
|
20101
|
-
* @returns
|
|
20832
|
+
* @returns Metadata
|
|
20102
20833
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20103
20834
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20104
20835
|
*/
|
|
20105
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.
|
|
20836
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Metadata;
|
|
20106
20837
|
|
|
20107
20838
|
/**
|
|
20108
|
-
* Decodes a
|
|
20839
|
+
* Decodes a Metadata message from the specified reader or buffer, length delimited.
|
|
20109
20840
|
* @param reader Reader or buffer to decode from
|
|
20110
|
-
* @returns
|
|
20841
|
+
* @returns Metadata
|
|
20111
20842
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20112
20843
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20113
20844
|
*/
|
|
20114
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.
|
|
20845
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Metadata;
|
|
20115
20846
|
|
|
20116
20847
|
/**
|
|
20117
|
-
* Verifies a
|
|
20848
|
+
* Verifies a Metadata message.
|
|
20118
20849
|
* @param message Plain object to verify
|
|
20119
20850
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
20120
20851
|
*/
|
|
20121
20852
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
20122
20853
|
|
|
20123
20854
|
/**
|
|
20124
|
-
* Creates a
|
|
20855
|
+
* Creates a Metadata message from a plain object. Also converts values to their respective internal types.
|
|
20125
20856
|
* @param object Plain object
|
|
20126
|
-
* @returns
|
|
20857
|
+
* @returns Metadata
|
|
20127
20858
|
*/
|
|
20128
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.
|
|
20859
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Metadata;
|
|
20129
20860
|
|
|
20130
20861
|
/**
|
|
20131
|
-
* Creates a plain object from a
|
|
20132
|
-
* @param message
|
|
20862
|
+
* Creates a plain object from a Metadata message. Also converts values to other types if specified.
|
|
20863
|
+
* @param message Metadata
|
|
20133
20864
|
* @param [options] Conversion options
|
|
20134
20865
|
* @returns Plain object
|
|
20135
20866
|
*/
|
|
20136
|
-
public static toObject(message: replit.goval.api.
|
|
20867
|
+
public static toObject(message: replit.goval.api.repl.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20137
20868
|
|
|
20138
20869
|
/**
|
|
20139
|
-
* Converts this
|
|
20870
|
+
* Converts this Metadata to JSON.
|
|
20140
20871
|
* @returns JSON object
|
|
20141
20872
|
*/
|
|
20142
20873
|
public toJSON(): { [k: string]: any };
|