@replit/protocol 0.4.2 → 0.4.4
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/iotester/index.js.flow +2946 -0
- package/main/index.d.ts +104 -1
- package/main/index.js +234 -2
- package/main/index.js.flow +41699 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -25424,6 +25424,9 @@ export namespace replit {
|
|
|
25424
25424
|
|
|
25425
25425
|
/** FormatterOption displayVersion */
|
|
25426
25426
|
displayVersion?: (string|null);
|
|
25427
|
+
|
|
25428
|
+
/** FormatterOption supportsRangeFormatting */
|
|
25429
|
+
supportsRangeFormatting?: (boolean|null);
|
|
25427
25430
|
}
|
|
25428
25431
|
|
|
25429
25432
|
/** Represents a FormatterOption. */
|
|
@@ -25453,6 +25456,9 @@ export namespace replit {
|
|
|
25453
25456
|
/** FormatterOption displayVersion. */
|
|
25454
25457
|
public displayVersion: string;
|
|
25455
25458
|
|
|
25459
|
+
/** FormatterOption supportsRangeFormatting. */
|
|
25460
|
+
public supportsRangeFormatting: boolean;
|
|
25461
|
+
|
|
25456
25462
|
/**
|
|
25457
25463
|
* Creates a new FormatterOption instance using the specified properties.
|
|
25458
25464
|
* @param [properties] Properties to set
|
|
@@ -35920,12 +35926,106 @@ export namespace replit {
|
|
|
35920
35926
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35921
35927
|
}
|
|
35922
35928
|
|
|
35929
|
+
/** Properties of a Viktor. */
|
|
35930
|
+
interface IViktor {
|
|
35931
|
+
}
|
|
35932
|
+
|
|
35933
|
+
/** Represents a Viktor. */
|
|
35934
|
+
class Viktor {
|
|
35935
|
+
|
|
35936
|
+
/**
|
|
35937
|
+
* Constructs a new Viktor.
|
|
35938
|
+
* @param [properties] Properties to set
|
|
35939
|
+
*/
|
|
35940
|
+
private constructor(properties?: replit.goval.api.features.IViktor);
|
|
35941
|
+
|
|
35942
|
+
/**
|
|
35943
|
+
* Creates a new Viktor instance using the specified properties.
|
|
35944
|
+
* @param [properties] Properties to set
|
|
35945
|
+
* @returns Viktor instance
|
|
35946
|
+
*/
|
|
35947
|
+
public static create(properties?: replit.goval.api.features.IViktor): replit.goval.api.features.Viktor;
|
|
35948
|
+
|
|
35949
|
+
/**
|
|
35950
|
+
* Encodes the specified Viktor message. Does not implicitly {@link replit.goval.api.features.Viktor.verify|verify} messages.
|
|
35951
|
+
* @param message Viktor message or plain object to encode
|
|
35952
|
+
* @param [writer] Writer to encode to
|
|
35953
|
+
* @returns Writer
|
|
35954
|
+
*/
|
|
35955
|
+
public static encode(message: replit.goval.api.features.Viktor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35956
|
+
|
|
35957
|
+
/**
|
|
35958
|
+
* Encodes the specified Viktor message, length delimited. Does not implicitly {@link replit.goval.api.features.Viktor.verify|verify} messages.
|
|
35959
|
+
* @param message Viktor message or plain object to encode
|
|
35960
|
+
* @param [writer] Writer to encode to
|
|
35961
|
+
* @returns Writer
|
|
35962
|
+
*/
|
|
35963
|
+
public static encodeDelimited(message: replit.goval.api.features.Viktor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35964
|
+
|
|
35965
|
+
/**
|
|
35966
|
+
* Decodes a Viktor message from the specified reader or buffer.
|
|
35967
|
+
* @param reader Reader or buffer to decode from
|
|
35968
|
+
* @param [length] Message length if known beforehand
|
|
35969
|
+
* @returns Viktor
|
|
35970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35972
|
+
*/
|
|
35973
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Viktor;
|
|
35974
|
+
|
|
35975
|
+
/**
|
|
35976
|
+
* Decodes a Viktor message from the specified reader or buffer, length delimited.
|
|
35977
|
+
* @param reader Reader or buffer to decode from
|
|
35978
|
+
* @returns Viktor
|
|
35979
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35980
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35981
|
+
*/
|
|
35982
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Viktor;
|
|
35983
|
+
|
|
35984
|
+
/**
|
|
35985
|
+
* Verifies a Viktor message.
|
|
35986
|
+
* @param message Plain object to verify
|
|
35987
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35988
|
+
*/
|
|
35989
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35990
|
+
|
|
35991
|
+
/**
|
|
35992
|
+
* Creates a Viktor message from a plain object. Also converts values to their respective internal types.
|
|
35993
|
+
* @param object Plain object
|
|
35994
|
+
* @returns Viktor
|
|
35995
|
+
*/
|
|
35996
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Viktor;
|
|
35997
|
+
|
|
35998
|
+
/**
|
|
35999
|
+
* Creates a plain object from a Viktor message. Also converts values to other types if specified.
|
|
36000
|
+
* @param message Viktor
|
|
36001
|
+
* @param [options] Conversion options
|
|
36002
|
+
* @returns Plain object
|
|
36003
|
+
*/
|
|
36004
|
+
public static toObject(message: replit.goval.api.features.Viktor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36005
|
+
|
|
36006
|
+
/**
|
|
36007
|
+
* Converts this Viktor to JSON.
|
|
36008
|
+
* @returns JSON object
|
|
36009
|
+
*/
|
|
36010
|
+
public toJSON(): { [k: string]: any };
|
|
36011
|
+
|
|
36012
|
+
/**
|
|
36013
|
+
* Gets the default type url for Viktor
|
|
36014
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36015
|
+
* @returns The default type url
|
|
36016
|
+
*/
|
|
36017
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36018
|
+
}
|
|
36019
|
+
|
|
35923
36020
|
/** Properties of a Feature. */
|
|
35924
36021
|
interface IFeature {
|
|
35925
36022
|
|
|
35926
36023
|
/** Feature boosted */
|
|
35927
36024
|
boosted?: (replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null);
|
|
35928
36025
|
|
|
36026
|
+
/** Feature viktor */
|
|
36027
|
+
viktor?: (replit.goval.api.features.Viktor|replit.goval.api.features.IViktor|null);
|
|
36028
|
+
|
|
35929
36029
|
/** Feature required */
|
|
35930
36030
|
required?: (boolean|null);
|
|
35931
36031
|
}
|
|
@@ -35942,11 +36042,14 @@ export namespace replit {
|
|
|
35942
36042
|
/** Feature boosted. */
|
|
35943
36043
|
public boosted?: (replit.goval.api.features.Boosted|null);
|
|
35944
36044
|
|
|
36045
|
+
/** Feature viktor. */
|
|
36046
|
+
public viktor?: (replit.goval.api.features.Viktor|null);
|
|
36047
|
+
|
|
35945
36048
|
/** Feature required. */
|
|
35946
36049
|
public required: boolean;
|
|
35947
36050
|
|
|
35948
36051
|
/** Feature feature. */
|
|
35949
|
-
public feature?: "boosted";
|
|
36052
|
+
public feature?: ("boosted"|"viktor");
|
|
35950
36053
|
|
|
35951
36054
|
/**
|
|
35952
36055
|
* Creates a new Feature instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -64496,6 +64496,7 @@
|
|
|
64496
64496
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] FormatterOption fileTypeAttrs
|
|
64497
64497
|
* @property {string|null} [moduleId] FormatterOption moduleId
|
|
64498
64498
|
* @property {string|null} [displayVersion] FormatterOption displayVersion
|
|
64499
|
+
* @property {boolean|null} [supportsRangeFormatting] FormatterOption supportsRangeFormatting
|
|
64499
64500
|
*/
|
|
64500
64501
|
|
|
64501
64502
|
/**
|
|
@@ -64560,6 +64561,14 @@
|
|
|
64560
64561
|
*/
|
|
64561
64562
|
FormatterOption.prototype.displayVersion = "";
|
|
64562
64563
|
|
|
64564
|
+
/**
|
|
64565
|
+
* FormatterOption supportsRangeFormatting.
|
|
64566
|
+
* @member {boolean} supportsRangeFormatting
|
|
64567
|
+
* @memberof replit.goval.api.FormatterOption
|
|
64568
|
+
* @instance
|
|
64569
|
+
*/
|
|
64570
|
+
FormatterOption.prototype.supportsRangeFormatting = false;
|
|
64571
|
+
|
|
64563
64572
|
/**
|
|
64564
64573
|
* Creates a new FormatterOption instance using the specified properties.
|
|
64565
64574
|
* @function create
|
|
@@ -64596,6 +64605,8 @@
|
|
|
64596
64605
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.moduleId);
|
|
64597
64606
|
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
64598
64607
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.displayVersion);
|
|
64608
|
+
if (message.supportsRangeFormatting != null && Object.hasOwnProperty.call(message, "supportsRangeFormatting"))
|
|
64609
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.supportsRangeFormatting);
|
|
64599
64610
|
return writer;
|
|
64600
64611
|
};
|
|
64601
64612
|
|
|
@@ -64654,6 +64665,10 @@
|
|
|
64654
64665
|
message.displayVersion = reader.string();
|
|
64655
64666
|
break;
|
|
64656
64667
|
}
|
|
64668
|
+
case 7: {
|
|
64669
|
+
message.supportsRangeFormatting = reader.bool();
|
|
64670
|
+
break;
|
|
64671
|
+
}
|
|
64657
64672
|
default:
|
|
64658
64673
|
reader.skipType(tag & 7);
|
|
64659
64674
|
break;
|
|
@@ -64711,6 +64726,9 @@
|
|
|
64711
64726
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
64712
64727
|
if (!$util.isString(message.displayVersion))
|
|
64713
64728
|
return "displayVersion: string expected";
|
|
64729
|
+
if (message.supportsRangeFormatting != null && message.hasOwnProperty("supportsRangeFormatting"))
|
|
64730
|
+
if (typeof message.supportsRangeFormatting !== "boolean")
|
|
64731
|
+
return "supportsRangeFormatting: boolean expected";
|
|
64714
64732
|
return null;
|
|
64715
64733
|
};
|
|
64716
64734
|
|
|
@@ -64744,6 +64762,8 @@
|
|
|
64744
64762
|
message.moduleId = String(object.moduleId);
|
|
64745
64763
|
if (object.displayVersion != null)
|
|
64746
64764
|
message.displayVersion = String(object.displayVersion);
|
|
64765
|
+
if (object.supportsRangeFormatting != null)
|
|
64766
|
+
message.supportsRangeFormatting = Boolean(object.supportsRangeFormatting);
|
|
64747
64767
|
return message;
|
|
64748
64768
|
};
|
|
64749
64769
|
|
|
@@ -64767,6 +64787,7 @@
|
|
|
64767
64787
|
object.fileTypeAttrs = null;
|
|
64768
64788
|
object.moduleId = "";
|
|
64769
64789
|
object.displayVersion = "";
|
|
64790
|
+
object.supportsRangeFormatting = false;
|
|
64770
64791
|
}
|
|
64771
64792
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
64772
64793
|
object.id = message.id;
|
|
@@ -64780,6 +64801,8 @@
|
|
|
64780
64801
|
object.moduleId = message.moduleId;
|
|
64781
64802
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
64782
64803
|
object.displayVersion = message.displayVersion;
|
|
64804
|
+
if (message.supportsRangeFormatting != null && message.hasOwnProperty("supportsRangeFormatting"))
|
|
64805
|
+
object.supportsRangeFormatting = message.supportsRangeFormatting;
|
|
64783
64806
|
return object;
|
|
64784
64807
|
};
|
|
64785
64808
|
|
|
@@ -89236,6 +89259,180 @@
|
|
|
89236
89259
|
return Boosted;
|
|
89237
89260
|
})();
|
|
89238
89261
|
|
|
89262
|
+
features.Viktor = (function() {
|
|
89263
|
+
|
|
89264
|
+
/**
|
|
89265
|
+
* Properties of a Viktor.
|
|
89266
|
+
* @memberof replit.goval.api.features
|
|
89267
|
+
* @interface IViktor
|
|
89268
|
+
*/
|
|
89269
|
+
|
|
89270
|
+
/**
|
|
89271
|
+
* Constructs a new Viktor.
|
|
89272
|
+
* @memberof replit.goval.api.features
|
|
89273
|
+
* @classdesc Represents a Viktor.
|
|
89274
|
+
* @constructor
|
|
89275
|
+
* @param {replit.goval.api.features.IViktor=} [properties] Properties to set
|
|
89276
|
+
*/
|
|
89277
|
+
function Viktor(properties) {
|
|
89278
|
+
if (properties)
|
|
89279
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
89280
|
+
if (properties[keys[i]] != null)
|
|
89281
|
+
this[keys[i]] = properties[keys[i]];
|
|
89282
|
+
}
|
|
89283
|
+
|
|
89284
|
+
/**
|
|
89285
|
+
* Creates a new Viktor instance using the specified properties.
|
|
89286
|
+
* @function create
|
|
89287
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89288
|
+
* @static
|
|
89289
|
+
* @param {replit.goval.api.features.IViktor=} [properties] Properties to set
|
|
89290
|
+
* @returns {replit.goval.api.features.Viktor} Viktor instance
|
|
89291
|
+
*/
|
|
89292
|
+
Viktor.create = function create(properties) {
|
|
89293
|
+
return Viktor.fromObject(properties);
|
|
89294
|
+
};
|
|
89295
|
+
|
|
89296
|
+
/**
|
|
89297
|
+
* Encodes the specified Viktor message. Does not implicitly {@link replit.goval.api.features.Viktor.verify|verify} messages.
|
|
89298
|
+
* @function encode
|
|
89299
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89300
|
+
* @static
|
|
89301
|
+
* @param {replit.goval.api.features.Viktor} message Viktor message or plain object to encode
|
|
89302
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
89303
|
+
* @returns {$protobuf.Writer} Writer
|
|
89304
|
+
*/
|
|
89305
|
+
Viktor.encode = function encode(message, writer) {
|
|
89306
|
+
if (!writer)
|
|
89307
|
+
writer = $Writer.create();
|
|
89308
|
+
return writer;
|
|
89309
|
+
};
|
|
89310
|
+
|
|
89311
|
+
/**
|
|
89312
|
+
* Encodes the specified Viktor message, length delimited. Does not implicitly {@link replit.goval.api.features.Viktor.verify|verify} messages.
|
|
89313
|
+
* @function encodeDelimited
|
|
89314
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89315
|
+
* @static
|
|
89316
|
+
* @param {replit.goval.api.features.Viktor} message Viktor message or plain object to encode
|
|
89317
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
89318
|
+
* @returns {$protobuf.Writer} Writer
|
|
89319
|
+
*/
|
|
89320
|
+
Viktor.encodeDelimited = function encodeDelimited(message, writer) {
|
|
89321
|
+
return this.encode(message, writer).ldelim();
|
|
89322
|
+
};
|
|
89323
|
+
|
|
89324
|
+
/**
|
|
89325
|
+
* Decodes a Viktor message from the specified reader or buffer.
|
|
89326
|
+
* @function decode
|
|
89327
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89328
|
+
* @static
|
|
89329
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
89330
|
+
* @param {number} [length] Message length if known beforehand
|
|
89331
|
+
* @returns {replit.goval.api.features.Viktor} Viktor
|
|
89332
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
89333
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
89334
|
+
*/
|
|
89335
|
+
Viktor.decode = function decode(reader, length) {
|
|
89336
|
+
if (!(reader instanceof $Reader))
|
|
89337
|
+
reader = $Reader.create(reader);
|
|
89338
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.features.Viktor();
|
|
89339
|
+
while (reader.pos < end) {
|
|
89340
|
+
var tag = reader.uint32();
|
|
89341
|
+
switch (tag >>> 3) {
|
|
89342
|
+
default:
|
|
89343
|
+
reader.skipType(tag & 7);
|
|
89344
|
+
break;
|
|
89345
|
+
}
|
|
89346
|
+
}
|
|
89347
|
+
return message;
|
|
89348
|
+
};
|
|
89349
|
+
|
|
89350
|
+
/**
|
|
89351
|
+
* Decodes a Viktor message from the specified reader or buffer, length delimited.
|
|
89352
|
+
* @function decodeDelimited
|
|
89353
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89354
|
+
* @static
|
|
89355
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
89356
|
+
* @returns {replit.goval.api.features.Viktor} Viktor
|
|
89357
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
89358
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
89359
|
+
*/
|
|
89360
|
+
Viktor.decodeDelimited = function decodeDelimited(reader) {
|
|
89361
|
+
if (!(reader instanceof $Reader))
|
|
89362
|
+
reader = new $Reader(reader);
|
|
89363
|
+
return this.decode(reader, reader.uint32());
|
|
89364
|
+
};
|
|
89365
|
+
|
|
89366
|
+
/**
|
|
89367
|
+
* Verifies a Viktor message.
|
|
89368
|
+
* @function verify
|
|
89369
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89370
|
+
* @static
|
|
89371
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
89372
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
89373
|
+
*/
|
|
89374
|
+
Viktor.verify = function verify(message) {
|
|
89375
|
+
if (typeof message !== "object" || message === null)
|
|
89376
|
+
return "object expected";
|
|
89377
|
+
return null;
|
|
89378
|
+
};
|
|
89379
|
+
|
|
89380
|
+
/**
|
|
89381
|
+
* Creates a Viktor message from a plain object. Also converts values to their respective internal types.
|
|
89382
|
+
* @function fromObject
|
|
89383
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89384
|
+
* @static
|
|
89385
|
+
* @param {Object.<string,*>} object Plain object
|
|
89386
|
+
* @returns {replit.goval.api.features.Viktor} Viktor
|
|
89387
|
+
*/
|
|
89388
|
+
Viktor.fromObject = function fromObject(object) {
|
|
89389
|
+
if (object instanceof $root.replit.goval.api.features.Viktor)
|
|
89390
|
+
return object;
|
|
89391
|
+
return new $root.replit.goval.api.features.Viktor();
|
|
89392
|
+
};
|
|
89393
|
+
|
|
89394
|
+
/**
|
|
89395
|
+
* Creates a plain object from a Viktor message. Also converts values to other types if specified.
|
|
89396
|
+
* @function toObject
|
|
89397
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89398
|
+
* @static
|
|
89399
|
+
* @param {replit.goval.api.features.Viktor} message Viktor
|
|
89400
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
89401
|
+
* @returns {Object.<string,*>} Plain object
|
|
89402
|
+
*/
|
|
89403
|
+
Viktor.toObject = function toObject() {
|
|
89404
|
+
return {};
|
|
89405
|
+
};
|
|
89406
|
+
|
|
89407
|
+
/**
|
|
89408
|
+
* Converts this Viktor to JSON.
|
|
89409
|
+
* @function toJSON
|
|
89410
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89411
|
+
* @instance
|
|
89412
|
+
* @returns {Object.<string,*>} JSON object
|
|
89413
|
+
*/
|
|
89414
|
+
Viktor.prototype.toJSON = function toJSON() {
|
|
89415
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
89416
|
+
};
|
|
89417
|
+
|
|
89418
|
+
/**
|
|
89419
|
+
* Gets the default type url for Viktor
|
|
89420
|
+
* @function getTypeUrl
|
|
89421
|
+
* @memberof replit.goval.api.features.Viktor
|
|
89422
|
+
* @static
|
|
89423
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
89424
|
+
* @returns {string} The default type url
|
|
89425
|
+
*/
|
|
89426
|
+
Viktor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
89427
|
+
if (typeUrlPrefix === undefined) {
|
|
89428
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
89429
|
+
}
|
|
89430
|
+
return typeUrlPrefix + "/replit.goval.api.features.Viktor";
|
|
89431
|
+
};
|
|
89432
|
+
|
|
89433
|
+
return Viktor;
|
|
89434
|
+
})();
|
|
89435
|
+
|
|
89239
89436
|
features.Feature = (function() {
|
|
89240
89437
|
|
|
89241
89438
|
/**
|
|
@@ -89243,6 +89440,7 @@
|
|
|
89243
89440
|
* @memberof replit.goval.api.features
|
|
89244
89441
|
* @interface IFeature
|
|
89245
89442
|
* @property {replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null} [boosted] Feature boosted
|
|
89443
|
+
* @property {replit.goval.api.features.Viktor|replit.goval.api.features.IViktor|null} [viktor] Feature viktor
|
|
89246
89444
|
* @property {boolean|null} [required] Feature required
|
|
89247
89445
|
*/
|
|
89248
89446
|
|
|
@@ -89268,6 +89466,14 @@
|
|
|
89268
89466
|
*/
|
|
89269
89467
|
Feature.prototype.boosted = null;
|
|
89270
89468
|
|
|
89469
|
+
/**
|
|
89470
|
+
* Feature viktor.
|
|
89471
|
+
* @member {replit.goval.api.features.Viktor|null|undefined} viktor
|
|
89472
|
+
* @memberof replit.goval.api.features.Feature
|
|
89473
|
+
* @instance
|
|
89474
|
+
*/
|
|
89475
|
+
Feature.prototype.viktor = null;
|
|
89476
|
+
|
|
89271
89477
|
/**
|
|
89272
89478
|
* Feature required.
|
|
89273
89479
|
* @member {boolean} required
|
|
@@ -89281,12 +89487,12 @@
|
|
|
89281
89487
|
|
|
89282
89488
|
/**
|
|
89283
89489
|
* Feature feature.
|
|
89284
|
-
* @member {"boosted"|undefined} feature
|
|
89490
|
+
* @member {"boosted"|"viktor"|undefined} feature
|
|
89285
89491
|
* @memberof replit.goval.api.features.Feature
|
|
89286
89492
|
* @instance
|
|
89287
89493
|
*/
|
|
89288
89494
|
Object.defineProperty(Feature.prototype, "feature", {
|
|
89289
|
-
get: $util.oneOfGetter($oneOfFields = ["boosted"]),
|
|
89495
|
+
get: $util.oneOfGetter($oneOfFields = ["boosted", "viktor"]),
|
|
89290
89496
|
set: $util.oneOfSetter($oneOfFields)
|
|
89291
89497
|
});
|
|
89292
89498
|
|
|
@@ -89318,6 +89524,8 @@
|
|
|
89318
89524
|
$root.replit.goval.api.features.Boosted.encode(message.boosted, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
89319
89525
|
if (message.required != null && Object.hasOwnProperty.call(message, "required"))
|
|
89320
89526
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required);
|
|
89527
|
+
if (message.viktor != null && Object.hasOwnProperty.call(message, "viktor"))
|
|
89528
|
+
$root.replit.goval.api.features.Viktor.encode(message.viktor, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
89321
89529
|
return writer;
|
|
89322
89530
|
};
|
|
89323
89531
|
|
|
@@ -89356,6 +89564,10 @@
|
|
|
89356
89564
|
message.boosted = $root.replit.goval.api.features.Boosted.decode(reader, reader.uint32());
|
|
89357
89565
|
break;
|
|
89358
89566
|
}
|
|
89567
|
+
case 5: {
|
|
89568
|
+
message.viktor = $root.replit.goval.api.features.Viktor.decode(reader, reader.uint32());
|
|
89569
|
+
break;
|
|
89570
|
+
}
|
|
89359
89571
|
case 3: {
|
|
89360
89572
|
message.required = reader.bool();
|
|
89361
89573
|
break;
|
|
@@ -89404,6 +89616,16 @@
|
|
|
89404
89616
|
return "boosted." + error;
|
|
89405
89617
|
}
|
|
89406
89618
|
}
|
|
89619
|
+
if (message.viktor != null && message.hasOwnProperty("viktor")) {
|
|
89620
|
+
if (properties.feature === 1)
|
|
89621
|
+
return "feature: multiple values";
|
|
89622
|
+
properties.feature = 1;
|
|
89623
|
+
{
|
|
89624
|
+
var error = $root.replit.goval.api.features.Viktor.verify(message.viktor);
|
|
89625
|
+
if (error)
|
|
89626
|
+
return "viktor." + error;
|
|
89627
|
+
}
|
|
89628
|
+
}
|
|
89407
89629
|
if (message.required != null && message.hasOwnProperty("required"))
|
|
89408
89630
|
if (typeof message.required !== "boolean")
|
|
89409
89631
|
return "required: boolean expected";
|
|
@@ -89427,6 +89649,11 @@
|
|
|
89427
89649
|
throw TypeError(".replit.goval.api.features.Feature.boosted: object expected");
|
|
89428
89650
|
message.boosted = $root.replit.goval.api.features.Boosted.fromObject(object.boosted);
|
|
89429
89651
|
}
|
|
89652
|
+
if (object.viktor != null) {
|
|
89653
|
+
if (typeof object.viktor !== "object")
|
|
89654
|
+
throw TypeError(".replit.goval.api.features.Feature.viktor: object expected");
|
|
89655
|
+
message.viktor = $root.replit.goval.api.features.Viktor.fromObject(object.viktor);
|
|
89656
|
+
}
|
|
89430
89657
|
if (object.required != null)
|
|
89431
89658
|
message.required = Boolean(object.required);
|
|
89432
89659
|
return message;
|
|
@@ -89454,6 +89681,11 @@
|
|
|
89454
89681
|
}
|
|
89455
89682
|
if (message.required != null && message.hasOwnProperty("required"))
|
|
89456
89683
|
object.required = message.required;
|
|
89684
|
+
if (message.viktor != null && message.hasOwnProperty("viktor")) {
|
|
89685
|
+
object.viktor = $root.replit.goval.api.features.Viktor.toObject(message.viktor, options);
|
|
89686
|
+
if (options.oneofs)
|
|
89687
|
+
object.feature = "viktor";
|
|
89688
|
+
}
|
|
89457
89689
|
return object;
|
|
89458
89690
|
};
|
|
89459
89691
|
|