@replit/protocol 0.2.73 → 0.2.75
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 +825 -508
- package/main/index.js +4696 -3869
- package/main/index.js.flow +1573 -1114
- 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
|
|
@@ -19953,40 +19691,130 @@ export namespace replit {
|
|
|
19953
19691
|
public toJSON(): { [k: string]: any };
|
|
19954
19692
|
}
|
|
19955
19693
|
|
|
19956
|
-
/** Properties of a
|
|
19957
|
-
interface
|
|
19958
|
-
|
|
19959
|
-
/** Feature gpu */
|
|
19960
|
-
gpu?: (replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null);
|
|
19961
|
-
|
|
19962
|
-
/** Feature required */
|
|
19963
|
-
required?: (boolean|null);
|
|
19694
|
+
/** Properties of a Boosted. */
|
|
19695
|
+
interface IBoosted {
|
|
19964
19696
|
}
|
|
19965
19697
|
|
|
19966
|
-
/** Represents a
|
|
19967
|
-
class
|
|
19698
|
+
/** Represents a Boosted. */
|
|
19699
|
+
class Boosted {
|
|
19968
19700
|
|
|
19969
19701
|
/**
|
|
19970
|
-
* Constructs a new
|
|
19702
|
+
* Constructs a new Boosted.
|
|
19971
19703
|
* @param [properties] Properties to set
|
|
19972
19704
|
*/
|
|
19973
|
-
private constructor(properties?: replit.goval.api.features.
|
|
19974
|
-
|
|
19975
|
-
/** Feature gpu. */
|
|
19976
|
-
public gpu?: (replit.goval.api.features.Gpu|null);
|
|
19977
|
-
|
|
19978
|
-
/** Feature required. */
|
|
19979
|
-
public required: boolean;
|
|
19980
|
-
|
|
19981
|
-
/** Feature feature. */
|
|
19982
|
-
public feature?: "gpu";
|
|
19705
|
+
private constructor(properties?: replit.goval.api.features.IBoosted);
|
|
19983
19706
|
|
|
19984
19707
|
/**
|
|
19985
|
-
* Creates a new
|
|
19708
|
+
* Creates a new Boosted instance using the specified properties.
|
|
19986
19709
|
* @param [properties] Properties to set
|
|
19987
|
-
* @returns
|
|
19710
|
+
* @returns Boosted instance
|
|
19988
19711
|
*/
|
|
19989
|
-
public static create(properties?: replit.goval.api.features.
|
|
19712
|
+
public static create(properties?: replit.goval.api.features.IBoosted): replit.goval.api.features.Boosted;
|
|
19713
|
+
|
|
19714
|
+
/**
|
|
19715
|
+
* Encodes the specified Boosted message. Does not implicitly {@link replit.goval.api.features.Boosted.verify|verify} messages.
|
|
19716
|
+
* @param message Boosted message or plain object to encode
|
|
19717
|
+
* @param [writer] Writer to encode to
|
|
19718
|
+
* @returns Writer
|
|
19719
|
+
*/
|
|
19720
|
+
public static encode(message: replit.goval.api.features.Boosted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19721
|
+
|
|
19722
|
+
/**
|
|
19723
|
+
* Encodes the specified Boosted message, length delimited. Does not implicitly {@link replit.goval.api.features.Boosted.verify|verify} messages.
|
|
19724
|
+
* @param message Boosted message or plain object to encode
|
|
19725
|
+
* @param [writer] Writer to encode to
|
|
19726
|
+
* @returns Writer
|
|
19727
|
+
*/
|
|
19728
|
+
public static encodeDelimited(message: replit.goval.api.features.Boosted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19729
|
+
|
|
19730
|
+
/**
|
|
19731
|
+
* Decodes a Boosted message from the specified reader or buffer.
|
|
19732
|
+
* @param reader Reader or buffer to decode from
|
|
19733
|
+
* @param [length] Message length if known beforehand
|
|
19734
|
+
* @returns Boosted
|
|
19735
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19736
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19737
|
+
*/
|
|
19738
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Boosted;
|
|
19739
|
+
|
|
19740
|
+
/**
|
|
19741
|
+
* Decodes a Boosted message from the specified reader or buffer, length delimited.
|
|
19742
|
+
* @param reader Reader or buffer to decode from
|
|
19743
|
+
* @returns Boosted
|
|
19744
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19745
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19746
|
+
*/
|
|
19747
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Boosted;
|
|
19748
|
+
|
|
19749
|
+
/**
|
|
19750
|
+
* Verifies a Boosted message.
|
|
19751
|
+
* @param message Plain object to verify
|
|
19752
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19753
|
+
*/
|
|
19754
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19755
|
+
|
|
19756
|
+
/**
|
|
19757
|
+
* Creates a Boosted message from a plain object. Also converts values to their respective internal types.
|
|
19758
|
+
* @param object Plain object
|
|
19759
|
+
* @returns Boosted
|
|
19760
|
+
*/
|
|
19761
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Boosted;
|
|
19762
|
+
|
|
19763
|
+
/**
|
|
19764
|
+
* Creates a plain object from a Boosted message. Also converts values to other types if specified.
|
|
19765
|
+
* @param message Boosted
|
|
19766
|
+
* @param [options] Conversion options
|
|
19767
|
+
* @returns Plain object
|
|
19768
|
+
*/
|
|
19769
|
+
public static toObject(message: replit.goval.api.features.Boosted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19770
|
+
|
|
19771
|
+
/**
|
|
19772
|
+
* Converts this Boosted to JSON.
|
|
19773
|
+
* @returns JSON object
|
|
19774
|
+
*/
|
|
19775
|
+
public toJSON(): { [k: string]: any };
|
|
19776
|
+
}
|
|
19777
|
+
|
|
19778
|
+
/** Properties of a Feature. */
|
|
19779
|
+
interface IFeature {
|
|
19780
|
+
|
|
19781
|
+
/** Feature gpu */
|
|
19782
|
+
gpu?: (replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null);
|
|
19783
|
+
|
|
19784
|
+
/** Feature boosted */
|
|
19785
|
+
boosted?: (replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null);
|
|
19786
|
+
|
|
19787
|
+
/** Feature required */
|
|
19788
|
+
required?: (boolean|null);
|
|
19789
|
+
}
|
|
19790
|
+
|
|
19791
|
+
/** Represents a Feature. */
|
|
19792
|
+
class Feature {
|
|
19793
|
+
|
|
19794
|
+
/**
|
|
19795
|
+
* Constructs a new Feature.
|
|
19796
|
+
* @param [properties] Properties to set
|
|
19797
|
+
*/
|
|
19798
|
+
private constructor(properties?: replit.goval.api.features.IFeature);
|
|
19799
|
+
|
|
19800
|
+
/** Feature gpu. */
|
|
19801
|
+
public gpu?: (replit.goval.api.features.Gpu|null);
|
|
19802
|
+
|
|
19803
|
+
/** Feature boosted. */
|
|
19804
|
+
public boosted?: (replit.goval.api.features.Boosted|null);
|
|
19805
|
+
|
|
19806
|
+
/** Feature required. */
|
|
19807
|
+
public required: boolean;
|
|
19808
|
+
|
|
19809
|
+
/** Feature feature. */
|
|
19810
|
+
public feature?: ("gpu"|"boosted");
|
|
19811
|
+
|
|
19812
|
+
/**
|
|
19813
|
+
* Creates a new Feature instance using the specified properties.
|
|
19814
|
+
* @param [properties] Properties to set
|
|
19815
|
+
* @returns Feature instance
|
|
19816
|
+
*/
|
|
19817
|
+
public static create(properties?: replit.goval.api.features.IFeature): replit.goval.api.features.Feature;
|
|
19990
19818
|
|
|
19991
19819
|
/**
|
|
19992
19820
|
* Encodes the specified Feature message. Does not implicitly {@link replit.goval.api.features.Feature.verify|verify} messages.
|
|
@@ -20052,6 +19880,495 @@ export namespace replit {
|
|
|
20052
19880
|
public toJSON(): { [k: string]: any };
|
|
20053
19881
|
}
|
|
20054
19882
|
}
|
|
19883
|
+
|
|
19884
|
+
/** Namespace repl. */
|
|
19885
|
+
namespace repl {
|
|
19886
|
+
|
|
19887
|
+
/** Properties of a Repl. */
|
|
19888
|
+
interface IRepl {
|
|
19889
|
+
|
|
19890
|
+
/** Repl id */
|
|
19891
|
+
id?: (string|null);
|
|
19892
|
+
|
|
19893
|
+
/** Repl language */
|
|
19894
|
+
language?: (string|null);
|
|
19895
|
+
|
|
19896
|
+
/** Repl bucket */
|
|
19897
|
+
bucket?: (string|null);
|
|
19898
|
+
|
|
19899
|
+
/** Repl slug */
|
|
19900
|
+
slug?: (string|null);
|
|
19901
|
+
|
|
19902
|
+
/** Repl user */
|
|
19903
|
+
user?: (string|null);
|
|
19904
|
+
|
|
19905
|
+
/** Repl sourceRepl */
|
|
19906
|
+
sourceRepl?: (string|null);
|
|
19907
|
+
|
|
19908
|
+
/** Repl database */
|
|
19909
|
+
database?: (string|null);
|
|
19910
|
+
}
|
|
19911
|
+
|
|
19912
|
+
/** Represents a Repl. */
|
|
19913
|
+
class Repl {
|
|
19914
|
+
|
|
19915
|
+
/**
|
|
19916
|
+
* Constructs a new Repl.
|
|
19917
|
+
* @param [properties] Properties to set
|
|
19918
|
+
*/
|
|
19919
|
+
private constructor(properties?: replit.goval.api.repl.IRepl);
|
|
19920
|
+
|
|
19921
|
+
/** Repl id. */
|
|
19922
|
+
public id: string;
|
|
19923
|
+
|
|
19924
|
+
/** Repl language. */
|
|
19925
|
+
public language: string;
|
|
19926
|
+
|
|
19927
|
+
/** Repl bucket. */
|
|
19928
|
+
public bucket: string;
|
|
19929
|
+
|
|
19930
|
+
/** Repl slug. */
|
|
19931
|
+
public slug: string;
|
|
19932
|
+
|
|
19933
|
+
/** Repl user. */
|
|
19934
|
+
public user: string;
|
|
19935
|
+
|
|
19936
|
+
/** Repl sourceRepl. */
|
|
19937
|
+
public sourceRepl: string;
|
|
19938
|
+
|
|
19939
|
+
/** Repl database. */
|
|
19940
|
+
public database: string;
|
|
19941
|
+
|
|
19942
|
+
/**
|
|
19943
|
+
* Creates a new Repl instance using the specified properties.
|
|
19944
|
+
* @param [properties] Properties to set
|
|
19945
|
+
* @returns Repl instance
|
|
19946
|
+
*/
|
|
19947
|
+
public static create(properties?: replit.goval.api.repl.IRepl): replit.goval.api.repl.Repl;
|
|
19948
|
+
|
|
19949
|
+
/**
|
|
19950
|
+
* Encodes the specified Repl message. Does not implicitly {@link replit.goval.api.repl.Repl.verify|verify} messages.
|
|
19951
|
+
* @param message Repl message or plain object to encode
|
|
19952
|
+
* @param [writer] Writer to encode to
|
|
19953
|
+
* @returns Writer
|
|
19954
|
+
*/
|
|
19955
|
+
public static encode(message: replit.goval.api.repl.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19956
|
+
|
|
19957
|
+
/**
|
|
19958
|
+
* Encodes the specified Repl message, length delimited. Does not implicitly {@link replit.goval.api.repl.Repl.verify|verify} messages.
|
|
19959
|
+
* @param message Repl message or plain object to encode
|
|
19960
|
+
* @param [writer] Writer to encode to
|
|
19961
|
+
* @returns Writer
|
|
19962
|
+
*/
|
|
19963
|
+
public static encodeDelimited(message: replit.goval.api.repl.Repl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19964
|
+
|
|
19965
|
+
/**
|
|
19966
|
+
* Decodes a Repl message from the specified reader or buffer.
|
|
19967
|
+
* @param reader Reader or buffer to decode from
|
|
19968
|
+
* @param [length] Message length if known beforehand
|
|
19969
|
+
* @returns Repl
|
|
19970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19972
|
+
*/
|
|
19973
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Repl;
|
|
19974
|
+
|
|
19975
|
+
/**
|
|
19976
|
+
* Decodes a Repl message from the specified reader or buffer, length delimited.
|
|
19977
|
+
* @param reader Reader or buffer to decode from
|
|
19978
|
+
* @returns Repl
|
|
19979
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19980
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19981
|
+
*/
|
|
19982
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Repl;
|
|
19983
|
+
|
|
19984
|
+
/**
|
|
19985
|
+
* Verifies a Repl message.
|
|
19986
|
+
* @param message Plain object to verify
|
|
19987
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19988
|
+
*/
|
|
19989
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19990
|
+
|
|
19991
|
+
/**
|
|
19992
|
+
* Creates a Repl message from a plain object. Also converts values to their respective internal types.
|
|
19993
|
+
* @param object Plain object
|
|
19994
|
+
* @returns Repl
|
|
19995
|
+
*/
|
|
19996
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Repl;
|
|
19997
|
+
|
|
19998
|
+
/**
|
|
19999
|
+
* Creates a plain object from a Repl message. Also converts values to other types if specified.
|
|
20000
|
+
* @param message Repl
|
|
20001
|
+
* @param [options] Conversion options
|
|
20002
|
+
* @returns Plain object
|
|
20003
|
+
*/
|
|
20004
|
+
public static toObject(message: replit.goval.api.repl.Repl, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20005
|
+
|
|
20006
|
+
/**
|
|
20007
|
+
* Converts this Repl to JSON.
|
|
20008
|
+
* @returns JSON object
|
|
20009
|
+
*/
|
|
20010
|
+
public toJSON(): { [k: string]: any };
|
|
20011
|
+
}
|
|
20012
|
+
|
|
20013
|
+
/** Properties of a ResourceLimits. */
|
|
20014
|
+
interface IResourceLimits {
|
|
20015
|
+
|
|
20016
|
+
/** ResourceLimits net */
|
|
20017
|
+
net?: (boolean|null);
|
|
20018
|
+
|
|
20019
|
+
/** ResourceLimits memory */
|
|
20020
|
+
memory?: (number|null);
|
|
20021
|
+
|
|
20022
|
+
/** ResourceLimits threads */
|
|
20023
|
+
threads?: (number|null);
|
|
20024
|
+
|
|
20025
|
+
/** ResourceLimits shares */
|
|
20026
|
+
shares?: (number|null);
|
|
20027
|
+
|
|
20028
|
+
/** ResourceLimits disk */
|
|
20029
|
+
disk?: (number|null);
|
|
20030
|
+
|
|
20031
|
+
/** ResourceLimits cache */
|
|
20032
|
+
cache?: (replit.goval.api.repl.ResourceLimits.Cachability|null);
|
|
20033
|
+
|
|
20034
|
+
/** ResourceLimits restrictNetwork */
|
|
20035
|
+
restrictNetwork?: (boolean|null);
|
|
20036
|
+
|
|
20037
|
+
/** ResourceLimits preventWakeup */
|
|
20038
|
+
preventWakeup?: (boolean|null);
|
|
20039
|
+
}
|
|
20040
|
+
|
|
20041
|
+
/** Represents a ResourceLimits. */
|
|
20042
|
+
class ResourceLimits {
|
|
20043
|
+
|
|
20044
|
+
/**
|
|
20045
|
+
* Constructs a new ResourceLimits.
|
|
20046
|
+
* @param [properties] Properties to set
|
|
20047
|
+
*/
|
|
20048
|
+
private constructor(properties?: replit.goval.api.repl.IResourceLimits);
|
|
20049
|
+
|
|
20050
|
+
/** ResourceLimits net. */
|
|
20051
|
+
public net: boolean;
|
|
20052
|
+
|
|
20053
|
+
/** ResourceLimits memory. */
|
|
20054
|
+
public memory: number;
|
|
20055
|
+
|
|
20056
|
+
/** ResourceLimits threads. */
|
|
20057
|
+
public threads: number;
|
|
20058
|
+
|
|
20059
|
+
/** ResourceLimits shares. */
|
|
20060
|
+
public shares: number;
|
|
20061
|
+
|
|
20062
|
+
/** ResourceLimits disk. */
|
|
20063
|
+
public disk: number;
|
|
20064
|
+
|
|
20065
|
+
/** ResourceLimits cache. */
|
|
20066
|
+
public cache: replit.goval.api.repl.ResourceLimits.Cachability;
|
|
20067
|
+
|
|
20068
|
+
/** ResourceLimits restrictNetwork. */
|
|
20069
|
+
public restrictNetwork: boolean;
|
|
20070
|
+
|
|
20071
|
+
/** ResourceLimits preventWakeup. */
|
|
20072
|
+
public preventWakeup: boolean;
|
|
20073
|
+
|
|
20074
|
+
/**
|
|
20075
|
+
* Creates a new ResourceLimits instance using the specified properties.
|
|
20076
|
+
* @param [properties] Properties to set
|
|
20077
|
+
* @returns ResourceLimits instance
|
|
20078
|
+
*/
|
|
20079
|
+
public static create(properties?: replit.goval.api.repl.IResourceLimits): replit.goval.api.repl.ResourceLimits;
|
|
20080
|
+
|
|
20081
|
+
/**
|
|
20082
|
+
* Encodes the specified ResourceLimits message. Does not implicitly {@link replit.goval.api.repl.ResourceLimits.verify|verify} messages.
|
|
20083
|
+
* @param message ResourceLimits message or plain object to encode
|
|
20084
|
+
* @param [writer] Writer to encode to
|
|
20085
|
+
* @returns Writer
|
|
20086
|
+
*/
|
|
20087
|
+
public static encode(message: replit.goval.api.repl.ResourceLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20088
|
+
|
|
20089
|
+
/**
|
|
20090
|
+
* Encodes the specified ResourceLimits message, length delimited. Does not implicitly {@link replit.goval.api.repl.ResourceLimits.verify|verify} messages.
|
|
20091
|
+
* @param message ResourceLimits message or plain object to encode
|
|
20092
|
+
* @param [writer] Writer to encode to
|
|
20093
|
+
* @returns Writer
|
|
20094
|
+
*/
|
|
20095
|
+
public static encodeDelimited(message: replit.goval.api.repl.ResourceLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20096
|
+
|
|
20097
|
+
/**
|
|
20098
|
+
* Decodes a ResourceLimits message from the specified reader or buffer.
|
|
20099
|
+
* @param reader Reader or buffer to decode from
|
|
20100
|
+
* @param [length] Message length if known beforehand
|
|
20101
|
+
* @returns ResourceLimits
|
|
20102
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20103
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20104
|
+
*/
|
|
20105
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.ResourceLimits;
|
|
20106
|
+
|
|
20107
|
+
/**
|
|
20108
|
+
* Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
|
|
20109
|
+
* @param reader Reader or buffer to decode from
|
|
20110
|
+
* @returns ResourceLimits
|
|
20111
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20112
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20113
|
+
*/
|
|
20114
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.ResourceLimits;
|
|
20115
|
+
|
|
20116
|
+
/**
|
|
20117
|
+
* Verifies a ResourceLimits message.
|
|
20118
|
+
* @param message Plain object to verify
|
|
20119
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20120
|
+
*/
|
|
20121
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20122
|
+
|
|
20123
|
+
/**
|
|
20124
|
+
* Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
|
|
20125
|
+
* @param object Plain object
|
|
20126
|
+
* @returns ResourceLimits
|
|
20127
|
+
*/
|
|
20128
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.ResourceLimits;
|
|
20129
|
+
|
|
20130
|
+
/**
|
|
20131
|
+
* Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
|
|
20132
|
+
* @param message ResourceLimits
|
|
20133
|
+
* @param [options] Conversion options
|
|
20134
|
+
* @returns Plain object
|
|
20135
|
+
*/
|
|
20136
|
+
public static toObject(message: replit.goval.api.repl.ResourceLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20137
|
+
|
|
20138
|
+
/**
|
|
20139
|
+
* Converts this ResourceLimits to JSON.
|
|
20140
|
+
* @returns JSON object
|
|
20141
|
+
*/
|
|
20142
|
+
public toJSON(): { [k: string]: any };
|
|
20143
|
+
}
|
|
20144
|
+
|
|
20145
|
+
namespace ResourceLimits {
|
|
20146
|
+
|
|
20147
|
+
/** Cachability enum. */
|
|
20148
|
+
enum Cachability {
|
|
20149
|
+
NONE = 0,
|
|
20150
|
+
USER = 1,
|
|
20151
|
+
REPL = 2
|
|
20152
|
+
}
|
|
20153
|
+
}
|
|
20154
|
+
|
|
20155
|
+
/** Properties of a Permissions. */
|
|
20156
|
+
interface IPermissions {
|
|
20157
|
+
|
|
20158
|
+
/** Permissions toggleAlwaysOn */
|
|
20159
|
+
toggleAlwaysOn?: (boolean|null);
|
|
20160
|
+
}
|
|
20161
|
+
|
|
20162
|
+
/** Represents a Permissions. */
|
|
20163
|
+
class Permissions {
|
|
20164
|
+
|
|
20165
|
+
/**
|
|
20166
|
+
* Constructs a new Permissions.
|
|
20167
|
+
* @param [properties] Properties to set
|
|
20168
|
+
*/
|
|
20169
|
+
private constructor(properties?: replit.goval.api.repl.IPermissions);
|
|
20170
|
+
|
|
20171
|
+
/** Permissions toggleAlwaysOn. */
|
|
20172
|
+
public toggleAlwaysOn: boolean;
|
|
20173
|
+
|
|
20174
|
+
/**
|
|
20175
|
+
* Creates a new Permissions instance using the specified properties.
|
|
20176
|
+
* @param [properties] Properties to set
|
|
20177
|
+
* @returns Permissions instance
|
|
20178
|
+
*/
|
|
20179
|
+
public static create(properties?: replit.goval.api.repl.IPermissions): replit.goval.api.repl.Permissions;
|
|
20180
|
+
|
|
20181
|
+
/**
|
|
20182
|
+
* Encodes the specified Permissions message. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
20183
|
+
* @param message Permissions message or plain object to encode
|
|
20184
|
+
* @param [writer] Writer to encode to
|
|
20185
|
+
* @returns Writer
|
|
20186
|
+
*/
|
|
20187
|
+
public static encode(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20188
|
+
|
|
20189
|
+
/**
|
|
20190
|
+
* Encodes the specified Permissions message, length delimited. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
20191
|
+
* @param message Permissions message or plain object to encode
|
|
20192
|
+
* @param [writer] Writer to encode to
|
|
20193
|
+
* @returns Writer
|
|
20194
|
+
*/
|
|
20195
|
+
public static encodeDelimited(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20196
|
+
|
|
20197
|
+
/**
|
|
20198
|
+
* Decodes a Permissions message from the specified reader or buffer.
|
|
20199
|
+
* @param reader Reader or buffer to decode from
|
|
20200
|
+
* @param [length] Message length if known beforehand
|
|
20201
|
+
* @returns Permissions
|
|
20202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20204
|
+
*/
|
|
20205
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Permissions;
|
|
20206
|
+
|
|
20207
|
+
/**
|
|
20208
|
+
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
20209
|
+
* @param reader Reader or buffer to decode from
|
|
20210
|
+
* @returns Permissions
|
|
20211
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20212
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20213
|
+
*/
|
|
20214
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Permissions;
|
|
20215
|
+
|
|
20216
|
+
/**
|
|
20217
|
+
* Verifies a Permissions message.
|
|
20218
|
+
* @param message Plain object to verify
|
|
20219
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20220
|
+
*/
|
|
20221
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20222
|
+
|
|
20223
|
+
/**
|
|
20224
|
+
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
20225
|
+
* @param object Plain object
|
|
20226
|
+
* @returns Permissions
|
|
20227
|
+
*/
|
|
20228
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Permissions;
|
|
20229
|
+
|
|
20230
|
+
/**
|
|
20231
|
+
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
20232
|
+
* @param message Permissions
|
|
20233
|
+
* @param [options] Conversion options
|
|
20234
|
+
* @returns Plain object
|
|
20235
|
+
*/
|
|
20236
|
+
public static toObject(message: replit.goval.api.repl.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20237
|
+
|
|
20238
|
+
/**
|
|
20239
|
+
* Converts this Permissions to JSON.
|
|
20240
|
+
* @returns JSON object
|
|
20241
|
+
*/
|
|
20242
|
+
public toJSON(): { [k: string]: any };
|
|
20243
|
+
}
|
|
20244
|
+
|
|
20245
|
+
/** Persistence enum. */
|
|
20246
|
+
enum Persistence {
|
|
20247
|
+
PERSISTENT = 0,
|
|
20248
|
+
EPHEMERAL = 1,
|
|
20249
|
+
NONE = 2
|
|
20250
|
+
}
|
|
20251
|
+
|
|
20252
|
+
/** Properties of a Metadata. */
|
|
20253
|
+
interface IMetadata {
|
|
20254
|
+
|
|
20255
|
+
/** Metadata repl */
|
|
20256
|
+
repl?: (replit.goval.api.repl.Repl|replit.goval.api.repl.IRepl|null);
|
|
20257
|
+
|
|
20258
|
+
/** Metadata resourceLimits */
|
|
20259
|
+
resourceLimits?: (replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null);
|
|
20260
|
+
|
|
20261
|
+
/** Metadata persistence */
|
|
20262
|
+
persistence?: (replit.goval.api.repl.Persistence|null);
|
|
20263
|
+
|
|
20264
|
+
/** Metadata flags */
|
|
20265
|
+
flags?: (string[]|null);
|
|
20266
|
+
|
|
20267
|
+
/** Metadata permissions */
|
|
20268
|
+
permissions?: (replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null);
|
|
20269
|
+
|
|
20270
|
+
/** Metadata features */
|
|
20271
|
+
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
20272
|
+
}
|
|
20273
|
+
|
|
20274
|
+
/** Represents a Metadata. */
|
|
20275
|
+
class Metadata {
|
|
20276
|
+
|
|
20277
|
+
/**
|
|
20278
|
+
* Constructs a new Metadata.
|
|
20279
|
+
* @param [properties] Properties to set
|
|
20280
|
+
*/
|
|
20281
|
+
private constructor(properties?: replit.goval.api.repl.IMetadata);
|
|
20282
|
+
|
|
20283
|
+
/** Metadata repl. */
|
|
20284
|
+
public repl?: (replit.goval.api.repl.Repl|null);
|
|
20285
|
+
|
|
20286
|
+
/** Metadata resourceLimits. */
|
|
20287
|
+
public resourceLimits?: (replit.goval.api.repl.ResourceLimits|null);
|
|
20288
|
+
|
|
20289
|
+
/** Metadata persistence. */
|
|
20290
|
+
public persistence: replit.goval.api.repl.Persistence;
|
|
20291
|
+
|
|
20292
|
+
/** Metadata flags. */
|
|
20293
|
+
public flags: string[];
|
|
20294
|
+
|
|
20295
|
+
/** Metadata permissions. */
|
|
20296
|
+
public permissions?: (replit.goval.api.repl.Permissions|null);
|
|
20297
|
+
|
|
20298
|
+
/** Metadata features. */
|
|
20299
|
+
public features: replit.goval.api.features.Feature[];
|
|
20300
|
+
|
|
20301
|
+
/**
|
|
20302
|
+
* Creates a new Metadata instance using the specified properties.
|
|
20303
|
+
* @param [properties] Properties to set
|
|
20304
|
+
* @returns Metadata instance
|
|
20305
|
+
*/
|
|
20306
|
+
public static create(properties?: replit.goval.api.repl.IMetadata): replit.goval.api.repl.Metadata;
|
|
20307
|
+
|
|
20308
|
+
/**
|
|
20309
|
+
* Encodes the specified Metadata message. Does not implicitly {@link replit.goval.api.repl.Metadata.verify|verify} messages.
|
|
20310
|
+
* @param message Metadata message or plain object to encode
|
|
20311
|
+
* @param [writer] Writer to encode to
|
|
20312
|
+
* @returns Writer
|
|
20313
|
+
*/
|
|
20314
|
+
public static encode(message: replit.goval.api.repl.Metadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20315
|
+
|
|
20316
|
+
/**
|
|
20317
|
+
* Encodes the specified Metadata message, length delimited. Does not implicitly {@link replit.goval.api.repl.Metadata.verify|verify} messages.
|
|
20318
|
+
* @param message Metadata message or plain object to encode
|
|
20319
|
+
* @param [writer] Writer to encode to
|
|
20320
|
+
* @returns Writer
|
|
20321
|
+
*/
|
|
20322
|
+
public static encodeDelimited(message: replit.goval.api.repl.Metadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20323
|
+
|
|
20324
|
+
/**
|
|
20325
|
+
* Decodes a Metadata message from the specified reader or buffer.
|
|
20326
|
+
* @param reader Reader or buffer to decode from
|
|
20327
|
+
* @param [length] Message length if known beforehand
|
|
20328
|
+
* @returns Metadata
|
|
20329
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20330
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20331
|
+
*/
|
|
20332
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Metadata;
|
|
20333
|
+
|
|
20334
|
+
/**
|
|
20335
|
+
* Decodes a Metadata message from the specified reader or buffer, length delimited.
|
|
20336
|
+
* @param reader Reader or buffer to decode from
|
|
20337
|
+
* @returns Metadata
|
|
20338
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20339
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20340
|
+
*/
|
|
20341
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Metadata;
|
|
20342
|
+
|
|
20343
|
+
/**
|
|
20344
|
+
* Verifies a Metadata message.
|
|
20345
|
+
* @param message Plain object to verify
|
|
20346
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20347
|
+
*/
|
|
20348
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20349
|
+
|
|
20350
|
+
/**
|
|
20351
|
+
* Creates a Metadata message from a plain object. Also converts values to their respective internal types.
|
|
20352
|
+
* @param object Plain object
|
|
20353
|
+
* @returns Metadata
|
|
20354
|
+
*/
|
|
20355
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Metadata;
|
|
20356
|
+
|
|
20357
|
+
/**
|
|
20358
|
+
* Creates a plain object from a Metadata message. Also converts values to other types if specified.
|
|
20359
|
+
* @param message Metadata
|
|
20360
|
+
* @param [options] Conversion options
|
|
20361
|
+
* @returns Plain object
|
|
20362
|
+
*/
|
|
20363
|
+
public static toObject(message: replit.goval.api.repl.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20364
|
+
|
|
20365
|
+
/**
|
|
20366
|
+
* Converts this Metadata to JSON.
|
|
20367
|
+
* @returns JSON object
|
|
20368
|
+
*/
|
|
20369
|
+
public toJSON(): { [k: string]: any };
|
|
20370
|
+
}
|
|
20371
|
+
}
|
|
20055
20372
|
}
|
|
20056
20373
|
}
|
|
20057
20374
|
}
|