@replit/protocol 0.2.95 → 0.2.96
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 +104 -98
- package/main/index.js +243 -216
- package/main/index.js.flow +150 -134
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -20407,7 +20407,7 @@ export namespace replit {
|
|
|
20407
20407
|
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
20408
20408
|
|
|
20409
20409
|
/** ReplToken buildInfo */
|
|
20410
|
-
buildInfo?: (replit.goval.api.BuildInfo|replit.goval.api.IBuildInfo|null);
|
|
20410
|
+
buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
|
|
20411
20411
|
}
|
|
20412
20412
|
|
|
20413
20413
|
/** Represents a ReplToken. */
|
|
@@ -20465,7 +20465,7 @@ export namespace replit {
|
|
|
20465
20465
|
public features: replit.goval.api.features.Feature[];
|
|
20466
20466
|
|
|
20467
20467
|
/** ReplToken buildInfo. */
|
|
20468
|
-
public buildInfo?: (replit.goval.api.BuildInfo|null);
|
|
20468
|
+
public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
|
|
20469
20469
|
|
|
20470
20470
|
/** ReplToken metadata. */
|
|
20471
20471
|
public metadata?: ("repl"|"id"|"classroom");
|
|
@@ -20838,102 +20838,6 @@ export namespace replit {
|
|
|
20838
20838
|
}
|
|
20839
20839
|
}
|
|
20840
20840
|
|
|
20841
|
-
/** Properties of a BuildInfo. */
|
|
20842
|
-
interface IBuildInfo {
|
|
20843
|
-
|
|
20844
|
-
/** BuildInfo id */
|
|
20845
|
-
id?: (string|null);
|
|
20846
|
-
|
|
20847
|
-
/** BuildInfo url */
|
|
20848
|
-
url?: (string|null);
|
|
20849
|
-
}
|
|
20850
|
-
|
|
20851
|
-
/** Represents a BuildInfo. */
|
|
20852
|
-
class BuildInfo {
|
|
20853
|
-
|
|
20854
|
-
/**
|
|
20855
|
-
* Constructs a new BuildInfo.
|
|
20856
|
-
* @param [properties] Properties to set
|
|
20857
|
-
*/
|
|
20858
|
-
private constructor(properties?: replit.goval.api.IBuildInfo);
|
|
20859
|
-
|
|
20860
|
-
/** BuildInfo id. */
|
|
20861
|
-
public id: string;
|
|
20862
|
-
|
|
20863
|
-
/** BuildInfo url. */
|
|
20864
|
-
public url: string;
|
|
20865
|
-
|
|
20866
|
-
/**
|
|
20867
|
-
* Creates a new BuildInfo instance using the specified properties.
|
|
20868
|
-
* @param [properties] Properties to set
|
|
20869
|
-
* @returns BuildInfo instance
|
|
20870
|
-
*/
|
|
20871
|
-
public static create(properties?: replit.goval.api.IBuildInfo): replit.goval.api.BuildInfo;
|
|
20872
|
-
|
|
20873
|
-
/**
|
|
20874
|
-
* Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
|
|
20875
|
-
* @param message BuildInfo message or plain object to encode
|
|
20876
|
-
* @param [writer] Writer to encode to
|
|
20877
|
-
* @returns Writer
|
|
20878
|
-
*/
|
|
20879
|
-
public static encode(message: replit.goval.api.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20880
|
-
|
|
20881
|
-
/**
|
|
20882
|
-
* Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
|
|
20883
|
-
* @param message BuildInfo message or plain object to encode
|
|
20884
|
-
* @param [writer] Writer to encode to
|
|
20885
|
-
* @returns Writer
|
|
20886
|
-
*/
|
|
20887
|
-
public static encodeDelimited(message: replit.goval.api.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20888
|
-
|
|
20889
|
-
/**
|
|
20890
|
-
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
20891
|
-
* @param reader Reader or buffer to decode from
|
|
20892
|
-
* @param [length] Message length if known beforehand
|
|
20893
|
-
* @returns BuildInfo
|
|
20894
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20895
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20896
|
-
*/
|
|
20897
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.BuildInfo;
|
|
20898
|
-
|
|
20899
|
-
/**
|
|
20900
|
-
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
20901
|
-
* @param reader Reader or buffer to decode from
|
|
20902
|
-
* @returns BuildInfo
|
|
20903
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20904
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20905
|
-
*/
|
|
20906
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.BuildInfo;
|
|
20907
|
-
|
|
20908
|
-
/**
|
|
20909
|
-
* Verifies a BuildInfo message.
|
|
20910
|
-
* @param message Plain object to verify
|
|
20911
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
20912
|
-
*/
|
|
20913
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
20914
|
-
|
|
20915
|
-
/**
|
|
20916
|
-
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
20917
|
-
* @param object Plain object
|
|
20918
|
-
* @returns BuildInfo
|
|
20919
|
-
*/
|
|
20920
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.BuildInfo;
|
|
20921
|
-
|
|
20922
|
-
/**
|
|
20923
|
-
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
20924
|
-
* @param message BuildInfo
|
|
20925
|
-
* @param [options] Conversion options
|
|
20926
|
-
* @returns Plain object
|
|
20927
|
-
*/
|
|
20928
|
-
public static toObject(message: replit.goval.api.BuildInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20929
|
-
|
|
20930
|
-
/**
|
|
20931
|
-
* Converts this BuildInfo to JSON.
|
|
20932
|
-
* @returns JSON object
|
|
20933
|
-
*/
|
|
20934
|
-
public toJSON(): { [k: string]: any };
|
|
20935
|
-
}
|
|
20936
|
-
|
|
20937
20841
|
/** Properties of a TLSCertificate. */
|
|
20938
20842
|
interface ITLSCertificate {
|
|
20939
20843
|
|
|
@@ -24032,6 +23936,9 @@ export namespace replit {
|
|
|
24032
23936
|
|
|
24033
23937
|
/** Metadata features */
|
|
24034
23938
|
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
23939
|
+
|
|
23940
|
+
/** Metadata buildInfo */
|
|
23941
|
+
buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
|
|
24035
23942
|
}
|
|
24036
23943
|
|
|
24037
23944
|
/** Represents a Metadata. */
|
|
@@ -24064,6 +23971,9 @@ export namespace replit {
|
|
|
24064
23971
|
/** Metadata features. */
|
|
24065
23972
|
public features: replit.goval.api.features.Feature[];
|
|
24066
23973
|
|
|
23974
|
+
/** Metadata buildInfo. */
|
|
23975
|
+
public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
|
|
23976
|
+
|
|
24067
23977
|
/**
|
|
24068
23978
|
* Creates a new Metadata instance using the specified properties.
|
|
24069
23979
|
* @param [properties] Properties to set
|
|
@@ -24134,6 +24044,102 @@ export namespace replit {
|
|
|
24134
24044
|
*/
|
|
24135
24045
|
public toJSON(): { [k: string]: any };
|
|
24136
24046
|
}
|
|
24047
|
+
|
|
24048
|
+
/** Properties of a BuildInfo. */
|
|
24049
|
+
interface IBuildInfo {
|
|
24050
|
+
|
|
24051
|
+
/** BuildInfo id */
|
|
24052
|
+
id?: (string|null);
|
|
24053
|
+
|
|
24054
|
+
/** BuildInfo url */
|
|
24055
|
+
url?: (string|null);
|
|
24056
|
+
}
|
|
24057
|
+
|
|
24058
|
+
/** Represents a BuildInfo. */
|
|
24059
|
+
class BuildInfo {
|
|
24060
|
+
|
|
24061
|
+
/**
|
|
24062
|
+
* Constructs a new BuildInfo.
|
|
24063
|
+
* @param [properties] Properties to set
|
|
24064
|
+
*/
|
|
24065
|
+
private constructor(properties?: replit.goval.api.repl.IBuildInfo);
|
|
24066
|
+
|
|
24067
|
+
/** BuildInfo id. */
|
|
24068
|
+
public id: string;
|
|
24069
|
+
|
|
24070
|
+
/** BuildInfo url. */
|
|
24071
|
+
public url: string;
|
|
24072
|
+
|
|
24073
|
+
/**
|
|
24074
|
+
* Creates a new BuildInfo instance using the specified properties.
|
|
24075
|
+
* @param [properties] Properties to set
|
|
24076
|
+
* @returns BuildInfo instance
|
|
24077
|
+
*/
|
|
24078
|
+
public static create(properties?: replit.goval.api.repl.IBuildInfo): replit.goval.api.repl.BuildInfo;
|
|
24079
|
+
|
|
24080
|
+
/**
|
|
24081
|
+
* Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
|
|
24082
|
+
* @param message BuildInfo message or plain object to encode
|
|
24083
|
+
* @param [writer] Writer to encode to
|
|
24084
|
+
* @returns Writer
|
|
24085
|
+
*/
|
|
24086
|
+
public static encode(message: replit.goval.api.repl.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24087
|
+
|
|
24088
|
+
/**
|
|
24089
|
+
* Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
|
|
24090
|
+
* @param message BuildInfo message or plain object to encode
|
|
24091
|
+
* @param [writer] Writer to encode to
|
|
24092
|
+
* @returns Writer
|
|
24093
|
+
*/
|
|
24094
|
+
public static encodeDelimited(message: replit.goval.api.repl.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24095
|
+
|
|
24096
|
+
/**
|
|
24097
|
+
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
24098
|
+
* @param reader Reader or buffer to decode from
|
|
24099
|
+
* @param [length] Message length if known beforehand
|
|
24100
|
+
* @returns BuildInfo
|
|
24101
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24102
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24103
|
+
*/
|
|
24104
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.BuildInfo;
|
|
24105
|
+
|
|
24106
|
+
/**
|
|
24107
|
+
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
24108
|
+
* @param reader Reader or buffer to decode from
|
|
24109
|
+
* @returns BuildInfo
|
|
24110
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24111
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24112
|
+
*/
|
|
24113
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.BuildInfo;
|
|
24114
|
+
|
|
24115
|
+
/**
|
|
24116
|
+
* Verifies a BuildInfo message.
|
|
24117
|
+
* @param message Plain object to verify
|
|
24118
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24119
|
+
*/
|
|
24120
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24121
|
+
|
|
24122
|
+
/**
|
|
24123
|
+
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
24124
|
+
* @param object Plain object
|
|
24125
|
+
* @returns BuildInfo
|
|
24126
|
+
*/
|
|
24127
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.BuildInfo;
|
|
24128
|
+
|
|
24129
|
+
/**
|
|
24130
|
+
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
24131
|
+
* @param message BuildInfo
|
|
24132
|
+
* @param [options] Conversion options
|
|
24133
|
+
* @returns Plain object
|
|
24134
|
+
*/
|
|
24135
|
+
public static toObject(message: replit.goval.api.repl.BuildInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24136
|
+
|
|
24137
|
+
/**
|
|
24138
|
+
* Converts this BuildInfo to JSON.
|
|
24139
|
+
* @returns JSON object
|
|
24140
|
+
*/
|
|
24141
|
+
public toJSON(): { [k: string]: any };
|
|
24142
|
+
}
|
|
24137
24143
|
}
|
|
24138
24144
|
}
|
|
24139
24145
|
}
|
package/main/index.js
CHANGED
|
@@ -50713,7 +50713,7 @@
|
|
|
50713
50713
|
* @property {Array.<string>|null} [flags] ReplToken flags
|
|
50714
50714
|
* @property {replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null} [permissions] ReplToken permissions
|
|
50715
50715
|
* @property {Array.<replit.goval.api.features.Feature|replit.goval.api.features.IFeature>|null} [features] ReplToken features
|
|
50716
|
-
* @property {replit.goval.api.BuildInfo|replit.goval.api.IBuildInfo|null} [buildInfo] ReplToken buildInfo
|
|
50716
|
+
* @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] ReplToken buildInfo
|
|
50717
50717
|
*/
|
|
50718
50718
|
|
|
50719
50719
|
/**
|
|
@@ -50854,7 +50854,7 @@
|
|
|
50854
50854
|
|
|
50855
50855
|
/**
|
|
50856
50856
|
* ReplToken buildInfo.
|
|
50857
|
-
* @member {replit.goval.api.BuildInfo|null|undefined} buildInfo
|
|
50857
|
+
* @member {replit.goval.api.repl.BuildInfo|null|undefined} buildInfo
|
|
50858
50858
|
* @memberof replit.goval.api.ReplToken
|
|
50859
50859
|
* @instance
|
|
50860
50860
|
*/
|
|
@@ -50931,7 +50931,7 @@
|
|
|
50931
50931
|
if (message.interactiveResourceLimits != null && Object.hasOwnProperty.call(message, "interactiveResourceLimits"))
|
|
50932
50932
|
$root.replit.goval.api.repl.ResourceLimits.encode(message.interactiveResourceLimits, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
50933
50933
|
if (message.buildInfo != null && Object.hasOwnProperty.call(message, "buildInfo"))
|
|
50934
|
-
$root.replit.goval.api.BuildInfo.encode(message.buildInfo, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
50934
|
+
$root.replit.goval.api.repl.BuildInfo.encode(message.buildInfo, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
50935
50935
|
return writer;
|
|
50936
50936
|
};
|
|
50937
50937
|
|
|
@@ -51016,7 +51016,7 @@
|
|
|
51016
51016
|
message.features.push($root.replit.goval.api.features.Feature.decode(reader, reader.uint32()));
|
|
51017
51017
|
break;
|
|
51018
51018
|
case 18:
|
|
51019
|
-
message.buildInfo = $root.replit.goval.api.BuildInfo.decode(reader, reader.uint32());
|
|
51019
|
+
message.buildInfo = $root.replit.goval.api.repl.BuildInfo.decode(reader, reader.uint32());
|
|
51020
51020
|
break;
|
|
51021
51021
|
default:
|
|
51022
51022
|
reader.skipType(tag & 7);
|
|
@@ -51153,7 +51153,7 @@
|
|
|
51153
51153
|
}
|
|
51154
51154
|
}
|
|
51155
51155
|
if (message.buildInfo != null && message.hasOwnProperty("buildInfo")) {
|
|
51156
|
-
var error = $root.replit.goval.api.BuildInfo.verify(message.buildInfo);
|
|
51156
|
+
var error = $root.replit.goval.api.repl.BuildInfo.verify(message.buildInfo);
|
|
51157
51157
|
if (error)
|
|
51158
51158
|
return "buildInfo." + error;
|
|
51159
51159
|
}
|
|
@@ -51269,7 +51269,7 @@
|
|
|
51269
51269
|
if (object.buildInfo != null) {
|
|
51270
51270
|
if (typeof object.buildInfo !== "object")
|
|
51271
51271
|
throw TypeError(".replit.goval.api.ReplToken.buildInfo: object expected");
|
|
51272
|
-
message.buildInfo = $root.replit.goval.api.BuildInfo.fromObject(object.buildInfo);
|
|
51272
|
+
message.buildInfo = $root.replit.goval.api.repl.BuildInfo.fromObject(object.buildInfo);
|
|
51273
51273
|
}
|
|
51274
51274
|
return message;
|
|
51275
51275
|
};
|
|
@@ -51350,7 +51350,7 @@
|
|
|
51350
51350
|
if (message.interactiveResourceLimits != null && message.hasOwnProperty("interactiveResourceLimits"))
|
|
51351
51351
|
object.interactiveResourceLimits = $root.replit.goval.api.repl.ResourceLimits.toObject(message.interactiveResourceLimits, options);
|
|
51352
51352
|
if (message.buildInfo != null && message.hasOwnProperty("buildInfo"))
|
|
51353
|
-
object.buildInfo = $root.replit.goval.api.BuildInfo.toObject(message.buildInfo, options);
|
|
51353
|
+
object.buildInfo = $root.replit.goval.api.repl.BuildInfo.toObject(message.buildInfo, options);
|
|
51354
51354
|
return object;
|
|
51355
51355
|
};
|
|
51356
51356
|
|
|
@@ -52009,215 +52009,6 @@
|
|
|
52009
52009
|
return ReplToken;
|
|
52010
52010
|
})();
|
|
52011
52011
|
|
|
52012
|
-
api.BuildInfo = (function() {
|
|
52013
|
-
|
|
52014
|
-
/**
|
|
52015
|
-
* Properties of a BuildInfo.
|
|
52016
|
-
* @memberof replit.goval.api
|
|
52017
|
-
* @interface IBuildInfo
|
|
52018
|
-
* @property {string|null} [id] BuildInfo id
|
|
52019
|
-
* @property {string|null} [url] BuildInfo url
|
|
52020
|
-
*/
|
|
52021
|
-
|
|
52022
|
-
/**
|
|
52023
|
-
* Constructs a new BuildInfo.
|
|
52024
|
-
* @memberof replit.goval.api
|
|
52025
|
-
* @classdesc Represents a BuildInfo.
|
|
52026
|
-
* @constructor
|
|
52027
|
-
* @param {replit.goval.api.IBuildInfo=} [properties] Properties to set
|
|
52028
|
-
*/
|
|
52029
|
-
function BuildInfo(properties) {
|
|
52030
|
-
if (properties)
|
|
52031
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
52032
|
-
if (properties[keys[i]] != null)
|
|
52033
|
-
this[keys[i]] = properties[keys[i]];
|
|
52034
|
-
}
|
|
52035
|
-
|
|
52036
|
-
/**
|
|
52037
|
-
* BuildInfo id.
|
|
52038
|
-
* @member {string} id
|
|
52039
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52040
|
-
* @instance
|
|
52041
|
-
*/
|
|
52042
|
-
BuildInfo.prototype.id = "";
|
|
52043
|
-
|
|
52044
|
-
/**
|
|
52045
|
-
* BuildInfo url.
|
|
52046
|
-
* @member {string} url
|
|
52047
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52048
|
-
* @instance
|
|
52049
|
-
*/
|
|
52050
|
-
BuildInfo.prototype.url = "";
|
|
52051
|
-
|
|
52052
|
-
/**
|
|
52053
|
-
* Creates a new BuildInfo instance using the specified properties.
|
|
52054
|
-
* @function create
|
|
52055
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52056
|
-
* @static
|
|
52057
|
-
* @param {replit.goval.api.IBuildInfo=} [properties] Properties to set
|
|
52058
|
-
* @returns {replit.goval.api.BuildInfo} BuildInfo instance
|
|
52059
|
-
*/
|
|
52060
|
-
BuildInfo.create = function create(properties) {
|
|
52061
|
-
return BuildInfo.fromObject(properties);
|
|
52062
|
-
};
|
|
52063
|
-
|
|
52064
|
-
/**
|
|
52065
|
-
* Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
|
|
52066
|
-
* @function encode
|
|
52067
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52068
|
-
* @static
|
|
52069
|
-
* @param {replit.goval.api.BuildInfo} message BuildInfo message or plain object to encode
|
|
52070
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
52071
|
-
* @returns {$protobuf.Writer} Writer
|
|
52072
|
-
*/
|
|
52073
|
-
BuildInfo.encode = function encode(message, writer) {
|
|
52074
|
-
if (!writer)
|
|
52075
|
-
writer = $Writer.create();
|
|
52076
|
-
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
52077
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
52078
|
-
if (message.url != null && Object.hasOwnProperty.call(message, "url"))
|
|
52079
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.url);
|
|
52080
|
-
return writer;
|
|
52081
|
-
};
|
|
52082
|
-
|
|
52083
|
-
/**
|
|
52084
|
-
* Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
|
|
52085
|
-
* @function encodeDelimited
|
|
52086
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52087
|
-
* @static
|
|
52088
|
-
* @param {replit.goval.api.BuildInfo} message BuildInfo message or plain object to encode
|
|
52089
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
52090
|
-
* @returns {$protobuf.Writer} Writer
|
|
52091
|
-
*/
|
|
52092
|
-
BuildInfo.encodeDelimited = function encodeDelimited(message, writer) {
|
|
52093
|
-
return this.encode(message, writer).ldelim();
|
|
52094
|
-
};
|
|
52095
|
-
|
|
52096
|
-
/**
|
|
52097
|
-
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
52098
|
-
* @function decode
|
|
52099
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52100
|
-
* @static
|
|
52101
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
52102
|
-
* @param {number} [length] Message length if known beforehand
|
|
52103
|
-
* @returns {replit.goval.api.BuildInfo} BuildInfo
|
|
52104
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52105
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52106
|
-
*/
|
|
52107
|
-
BuildInfo.decode = function decode(reader, length) {
|
|
52108
|
-
if (!(reader instanceof $Reader))
|
|
52109
|
-
reader = $Reader.create(reader);
|
|
52110
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.BuildInfo();
|
|
52111
|
-
while (reader.pos < end) {
|
|
52112
|
-
var tag = reader.uint32();
|
|
52113
|
-
switch (tag >>> 3) {
|
|
52114
|
-
case 1:
|
|
52115
|
-
message.id = reader.string();
|
|
52116
|
-
break;
|
|
52117
|
-
case 2:
|
|
52118
|
-
message.url = reader.string();
|
|
52119
|
-
break;
|
|
52120
|
-
default:
|
|
52121
|
-
reader.skipType(tag & 7);
|
|
52122
|
-
break;
|
|
52123
|
-
}
|
|
52124
|
-
}
|
|
52125
|
-
return message;
|
|
52126
|
-
};
|
|
52127
|
-
|
|
52128
|
-
/**
|
|
52129
|
-
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
52130
|
-
* @function decodeDelimited
|
|
52131
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52132
|
-
* @static
|
|
52133
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
52134
|
-
* @returns {replit.goval.api.BuildInfo} BuildInfo
|
|
52135
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52136
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52137
|
-
*/
|
|
52138
|
-
BuildInfo.decodeDelimited = function decodeDelimited(reader) {
|
|
52139
|
-
if (!(reader instanceof $Reader))
|
|
52140
|
-
reader = new $Reader(reader);
|
|
52141
|
-
return this.decode(reader, reader.uint32());
|
|
52142
|
-
};
|
|
52143
|
-
|
|
52144
|
-
/**
|
|
52145
|
-
* Verifies a BuildInfo message.
|
|
52146
|
-
* @function verify
|
|
52147
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52148
|
-
* @static
|
|
52149
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
52150
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
52151
|
-
*/
|
|
52152
|
-
BuildInfo.verify = function verify(message) {
|
|
52153
|
-
if (typeof message !== "object" || message === null)
|
|
52154
|
-
return "object expected";
|
|
52155
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
52156
|
-
if (!$util.isString(message.id))
|
|
52157
|
-
return "id: string expected";
|
|
52158
|
-
if (message.url != null && message.hasOwnProperty("url"))
|
|
52159
|
-
if (!$util.isString(message.url))
|
|
52160
|
-
return "url: string expected";
|
|
52161
|
-
return null;
|
|
52162
|
-
};
|
|
52163
|
-
|
|
52164
|
-
/**
|
|
52165
|
-
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
52166
|
-
* @function fromObject
|
|
52167
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52168
|
-
* @static
|
|
52169
|
-
* @param {Object.<string,*>} object Plain object
|
|
52170
|
-
* @returns {replit.goval.api.BuildInfo} BuildInfo
|
|
52171
|
-
*/
|
|
52172
|
-
BuildInfo.fromObject = function fromObject(object) {
|
|
52173
|
-
if (object instanceof $root.replit.goval.api.BuildInfo)
|
|
52174
|
-
return object;
|
|
52175
|
-
var message = new $root.replit.goval.api.BuildInfo();
|
|
52176
|
-
if (object.id != null)
|
|
52177
|
-
message.id = String(object.id);
|
|
52178
|
-
if (object.url != null)
|
|
52179
|
-
message.url = String(object.url);
|
|
52180
|
-
return message;
|
|
52181
|
-
};
|
|
52182
|
-
|
|
52183
|
-
/**
|
|
52184
|
-
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
52185
|
-
* @function toObject
|
|
52186
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52187
|
-
* @static
|
|
52188
|
-
* @param {replit.goval.api.BuildInfo} message BuildInfo
|
|
52189
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
52190
|
-
* @returns {Object.<string,*>} Plain object
|
|
52191
|
-
*/
|
|
52192
|
-
BuildInfo.toObject = function toObject(message, options) {
|
|
52193
|
-
if (!options)
|
|
52194
|
-
options = {};
|
|
52195
|
-
var object = {};
|
|
52196
|
-
if (options.defaults) {
|
|
52197
|
-
object.id = "";
|
|
52198
|
-
object.url = "";
|
|
52199
|
-
}
|
|
52200
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
52201
|
-
object.id = message.id;
|
|
52202
|
-
if (message.url != null && message.hasOwnProperty("url"))
|
|
52203
|
-
object.url = message.url;
|
|
52204
|
-
return object;
|
|
52205
|
-
};
|
|
52206
|
-
|
|
52207
|
-
/**
|
|
52208
|
-
* Converts this BuildInfo to JSON.
|
|
52209
|
-
* @function toJSON
|
|
52210
|
-
* @memberof replit.goval.api.BuildInfo
|
|
52211
|
-
* @instance
|
|
52212
|
-
* @returns {Object.<string,*>} JSON object
|
|
52213
|
-
*/
|
|
52214
|
-
BuildInfo.prototype.toJSON = function toJSON() {
|
|
52215
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
52216
|
-
};
|
|
52217
|
-
|
|
52218
|
-
return BuildInfo;
|
|
52219
|
-
})();
|
|
52220
|
-
|
|
52221
52012
|
api.TLSCertificate = (function() {
|
|
52222
52013
|
|
|
52223
52014
|
/**
|
|
@@ -59814,6 +59605,7 @@
|
|
|
59814
59605
|
* @property {Array.<string>|null} [flags] Metadata flags
|
|
59815
59606
|
* @property {replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null} [permissions] Metadata permissions
|
|
59816
59607
|
* @property {Array.<replit.goval.api.features.Feature|replit.goval.api.features.IFeature>|null} [features] Metadata features
|
|
59608
|
+
* @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] Metadata buildInfo
|
|
59817
59609
|
*/
|
|
59818
59610
|
|
|
59819
59611
|
/**
|
|
@@ -59888,6 +59680,14 @@
|
|
|
59888
59680
|
*/
|
|
59889
59681
|
Metadata.prototype.features = $util.emptyArray;
|
|
59890
59682
|
|
|
59683
|
+
/**
|
|
59684
|
+
* Metadata buildInfo.
|
|
59685
|
+
* @member {replit.goval.api.repl.BuildInfo|null|undefined} buildInfo
|
|
59686
|
+
* @memberof replit.goval.api.repl.Metadata
|
|
59687
|
+
* @instance
|
|
59688
|
+
*/
|
|
59689
|
+
Metadata.prototype.buildInfo = null;
|
|
59690
|
+
|
|
59891
59691
|
/**
|
|
59892
59692
|
* Creates a new Metadata instance using the specified properties.
|
|
59893
59693
|
* @function create
|
|
@@ -59928,6 +59728,8 @@
|
|
|
59928
59728
|
$root.replit.goval.api.features.Feature.encode(message.features[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
59929
59729
|
if (message.interactiveResourceLimits != null && Object.hasOwnProperty.call(message, "interactiveResourceLimits"))
|
|
59930
59730
|
$root.replit.goval.api.repl.ResourceLimits.encode(message.interactiveResourceLimits, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
59731
|
+
if (message.buildInfo != null && Object.hasOwnProperty.call(message, "buildInfo"))
|
|
59732
|
+
$root.replit.goval.api.repl.BuildInfo.encode(message.buildInfo, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
59931
59733
|
return writer;
|
|
59932
59734
|
};
|
|
59933
59735
|
|
|
@@ -59987,6 +59789,9 @@
|
|
|
59987
59789
|
message.features = [];
|
|
59988
59790
|
message.features.push($root.replit.goval.api.features.Feature.decode(reader, reader.uint32()));
|
|
59989
59791
|
break;
|
|
59792
|
+
case 18:
|
|
59793
|
+
message.buildInfo = $root.replit.goval.api.repl.BuildInfo.decode(reader, reader.uint32());
|
|
59794
|
+
break;
|
|
59990
59795
|
default:
|
|
59991
59796
|
reader.skipType(tag & 7);
|
|
59992
59797
|
break;
|
|
@@ -60068,6 +59873,11 @@
|
|
|
60068
59873
|
return "features." + error;
|
|
60069
59874
|
}
|
|
60070
59875
|
}
|
|
59876
|
+
if (message.buildInfo != null && message.hasOwnProperty("buildInfo")) {
|
|
59877
|
+
var error = $root.replit.goval.api.repl.BuildInfo.verify(message.buildInfo);
|
|
59878
|
+
if (error)
|
|
59879
|
+
return "buildInfo." + error;
|
|
59880
|
+
}
|
|
60071
59881
|
return null;
|
|
60072
59882
|
};
|
|
60073
59883
|
|
|
@@ -60138,6 +59948,11 @@
|
|
|
60138
59948
|
message.features[i] = $root.replit.goval.api.features.Feature.fromObject(object.features[i]);
|
|
60139
59949
|
}
|
|
60140
59950
|
}
|
|
59951
|
+
if (object.buildInfo != null) {
|
|
59952
|
+
if (typeof object.buildInfo !== "object")
|
|
59953
|
+
throw TypeError(".replit.goval.api.repl.Metadata.buildInfo: object expected");
|
|
59954
|
+
message.buildInfo = $root.replit.goval.api.repl.BuildInfo.fromObject(object.buildInfo);
|
|
59955
|
+
}
|
|
60141
59956
|
return message;
|
|
60142
59957
|
};
|
|
60143
59958
|
|
|
@@ -60164,6 +59979,7 @@
|
|
|
60164
59979
|
object.resourceLimits = null;
|
|
60165
59980
|
object.permissions = null;
|
|
60166
59981
|
object.interactiveResourceLimits = null;
|
|
59982
|
+
object.buildInfo = null;
|
|
60167
59983
|
}
|
|
60168
59984
|
if (message.persistence != null && message.hasOwnProperty("persistence"))
|
|
60169
59985
|
object.persistence = options.enums === String ? $root.replit.goval.api.repl.Persistence[message.persistence] : message.persistence;
|
|
@@ -60185,6 +60001,8 @@
|
|
|
60185
60001
|
}
|
|
60186
60002
|
if (message.interactiveResourceLimits != null && message.hasOwnProperty("interactiveResourceLimits"))
|
|
60187
60003
|
object.interactiveResourceLimits = $root.replit.goval.api.repl.ResourceLimits.toObject(message.interactiveResourceLimits, options);
|
|
60004
|
+
if (message.buildInfo != null && message.hasOwnProperty("buildInfo"))
|
|
60005
|
+
object.buildInfo = $root.replit.goval.api.repl.BuildInfo.toObject(message.buildInfo, options);
|
|
60188
60006
|
return object;
|
|
60189
60007
|
};
|
|
60190
60008
|
|
|
@@ -60202,6 +60020,215 @@
|
|
|
60202
60020
|
return Metadata;
|
|
60203
60021
|
})();
|
|
60204
60022
|
|
|
60023
|
+
repl.BuildInfo = (function() {
|
|
60024
|
+
|
|
60025
|
+
/**
|
|
60026
|
+
* Properties of a BuildInfo.
|
|
60027
|
+
* @memberof replit.goval.api.repl
|
|
60028
|
+
* @interface IBuildInfo
|
|
60029
|
+
* @property {string|null} [id] BuildInfo id
|
|
60030
|
+
* @property {string|null} [url] BuildInfo url
|
|
60031
|
+
*/
|
|
60032
|
+
|
|
60033
|
+
/**
|
|
60034
|
+
* Constructs a new BuildInfo.
|
|
60035
|
+
* @memberof replit.goval.api.repl
|
|
60036
|
+
* @classdesc Represents a BuildInfo.
|
|
60037
|
+
* @constructor
|
|
60038
|
+
* @param {replit.goval.api.repl.IBuildInfo=} [properties] Properties to set
|
|
60039
|
+
*/
|
|
60040
|
+
function BuildInfo(properties) {
|
|
60041
|
+
if (properties)
|
|
60042
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
60043
|
+
if (properties[keys[i]] != null)
|
|
60044
|
+
this[keys[i]] = properties[keys[i]];
|
|
60045
|
+
}
|
|
60046
|
+
|
|
60047
|
+
/**
|
|
60048
|
+
* BuildInfo id.
|
|
60049
|
+
* @member {string} id
|
|
60050
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60051
|
+
* @instance
|
|
60052
|
+
*/
|
|
60053
|
+
BuildInfo.prototype.id = "";
|
|
60054
|
+
|
|
60055
|
+
/**
|
|
60056
|
+
* BuildInfo url.
|
|
60057
|
+
* @member {string} url
|
|
60058
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60059
|
+
* @instance
|
|
60060
|
+
*/
|
|
60061
|
+
BuildInfo.prototype.url = "";
|
|
60062
|
+
|
|
60063
|
+
/**
|
|
60064
|
+
* Creates a new BuildInfo instance using the specified properties.
|
|
60065
|
+
* @function create
|
|
60066
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60067
|
+
* @static
|
|
60068
|
+
* @param {replit.goval.api.repl.IBuildInfo=} [properties] Properties to set
|
|
60069
|
+
* @returns {replit.goval.api.repl.BuildInfo} BuildInfo instance
|
|
60070
|
+
*/
|
|
60071
|
+
BuildInfo.create = function create(properties) {
|
|
60072
|
+
return BuildInfo.fromObject(properties);
|
|
60073
|
+
};
|
|
60074
|
+
|
|
60075
|
+
/**
|
|
60076
|
+
* Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
|
|
60077
|
+
* @function encode
|
|
60078
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60079
|
+
* @static
|
|
60080
|
+
* @param {replit.goval.api.repl.BuildInfo} message BuildInfo message or plain object to encode
|
|
60081
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60082
|
+
* @returns {$protobuf.Writer} Writer
|
|
60083
|
+
*/
|
|
60084
|
+
BuildInfo.encode = function encode(message, writer) {
|
|
60085
|
+
if (!writer)
|
|
60086
|
+
writer = $Writer.create();
|
|
60087
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
60088
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
60089
|
+
if (message.url != null && Object.hasOwnProperty.call(message, "url"))
|
|
60090
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.url);
|
|
60091
|
+
return writer;
|
|
60092
|
+
};
|
|
60093
|
+
|
|
60094
|
+
/**
|
|
60095
|
+
* Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
|
|
60096
|
+
* @function encodeDelimited
|
|
60097
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60098
|
+
* @static
|
|
60099
|
+
* @param {replit.goval.api.repl.BuildInfo} message BuildInfo message or plain object to encode
|
|
60100
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60101
|
+
* @returns {$protobuf.Writer} Writer
|
|
60102
|
+
*/
|
|
60103
|
+
BuildInfo.encodeDelimited = function encodeDelimited(message, writer) {
|
|
60104
|
+
return this.encode(message, writer).ldelim();
|
|
60105
|
+
};
|
|
60106
|
+
|
|
60107
|
+
/**
|
|
60108
|
+
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
60109
|
+
* @function decode
|
|
60110
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60111
|
+
* @static
|
|
60112
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60113
|
+
* @param {number} [length] Message length if known beforehand
|
|
60114
|
+
* @returns {replit.goval.api.repl.BuildInfo} BuildInfo
|
|
60115
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60116
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60117
|
+
*/
|
|
60118
|
+
BuildInfo.decode = function decode(reader, length) {
|
|
60119
|
+
if (!(reader instanceof $Reader))
|
|
60120
|
+
reader = $Reader.create(reader);
|
|
60121
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.repl.BuildInfo();
|
|
60122
|
+
while (reader.pos < end) {
|
|
60123
|
+
var tag = reader.uint32();
|
|
60124
|
+
switch (tag >>> 3) {
|
|
60125
|
+
case 1:
|
|
60126
|
+
message.id = reader.string();
|
|
60127
|
+
break;
|
|
60128
|
+
case 2:
|
|
60129
|
+
message.url = reader.string();
|
|
60130
|
+
break;
|
|
60131
|
+
default:
|
|
60132
|
+
reader.skipType(tag & 7);
|
|
60133
|
+
break;
|
|
60134
|
+
}
|
|
60135
|
+
}
|
|
60136
|
+
return message;
|
|
60137
|
+
};
|
|
60138
|
+
|
|
60139
|
+
/**
|
|
60140
|
+
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
60141
|
+
* @function decodeDelimited
|
|
60142
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60143
|
+
* @static
|
|
60144
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60145
|
+
* @returns {replit.goval.api.repl.BuildInfo} BuildInfo
|
|
60146
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60147
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60148
|
+
*/
|
|
60149
|
+
BuildInfo.decodeDelimited = function decodeDelimited(reader) {
|
|
60150
|
+
if (!(reader instanceof $Reader))
|
|
60151
|
+
reader = new $Reader(reader);
|
|
60152
|
+
return this.decode(reader, reader.uint32());
|
|
60153
|
+
};
|
|
60154
|
+
|
|
60155
|
+
/**
|
|
60156
|
+
* Verifies a BuildInfo message.
|
|
60157
|
+
* @function verify
|
|
60158
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60159
|
+
* @static
|
|
60160
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
60161
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
60162
|
+
*/
|
|
60163
|
+
BuildInfo.verify = function verify(message) {
|
|
60164
|
+
if (typeof message !== "object" || message === null)
|
|
60165
|
+
return "object expected";
|
|
60166
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
60167
|
+
if (!$util.isString(message.id))
|
|
60168
|
+
return "id: string expected";
|
|
60169
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
60170
|
+
if (!$util.isString(message.url))
|
|
60171
|
+
return "url: string expected";
|
|
60172
|
+
return null;
|
|
60173
|
+
};
|
|
60174
|
+
|
|
60175
|
+
/**
|
|
60176
|
+
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
60177
|
+
* @function fromObject
|
|
60178
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60179
|
+
* @static
|
|
60180
|
+
* @param {Object.<string,*>} object Plain object
|
|
60181
|
+
* @returns {replit.goval.api.repl.BuildInfo} BuildInfo
|
|
60182
|
+
*/
|
|
60183
|
+
BuildInfo.fromObject = function fromObject(object) {
|
|
60184
|
+
if (object instanceof $root.replit.goval.api.repl.BuildInfo)
|
|
60185
|
+
return object;
|
|
60186
|
+
var message = new $root.replit.goval.api.repl.BuildInfo();
|
|
60187
|
+
if (object.id != null)
|
|
60188
|
+
message.id = String(object.id);
|
|
60189
|
+
if (object.url != null)
|
|
60190
|
+
message.url = String(object.url);
|
|
60191
|
+
return message;
|
|
60192
|
+
};
|
|
60193
|
+
|
|
60194
|
+
/**
|
|
60195
|
+
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
60196
|
+
* @function toObject
|
|
60197
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60198
|
+
* @static
|
|
60199
|
+
* @param {replit.goval.api.repl.BuildInfo} message BuildInfo
|
|
60200
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
60201
|
+
* @returns {Object.<string,*>} Plain object
|
|
60202
|
+
*/
|
|
60203
|
+
BuildInfo.toObject = function toObject(message, options) {
|
|
60204
|
+
if (!options)
|
|
60205
|
+
options = {};
|
|
60206
|
+
var object = {};
|
|
60207
|
+
if (options.defaults) {
|
|
60208
|
+
object.id = "";
|
|
60209
|
+
object.url = "";
|
|
60210
|
+
}
|
|
60211
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
60212
|
+
object.id = message.id;
|
|
60213
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
60214
|
+
object.url = message.url;
|
|
60215
|
+
return object;
|
|
60216
|
+
};
|
|
60217
|
+
|
|
60218
|
+
/**
|
|
60219
|
+
* Converts this BuildInfo to JSON.
|
|
60220
|
+
* @function toJSON
|
|
60221
|
+
* @memberof replit.goval.api.repl.BuildInfo
|
|
60222
|
+
* @instance
|
|
60223
|
+
* @returns {Object.<string,*>} JSON object
|
|
60224
|
+
*/
|
|
60225
|
+
BuildInfo.prototype.toJSON = function toJSON() {
|
|
60226
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
60227
|
+
};
|
|
60228
|
+
|
|
60229
|
+
return BuildInfo;
|
|
60230
|
+
})();
|
|
60231
|
+
|
|
60205
60232
|
return repl;
|
|
60206
60233
|
})();
|
|
60207
60234
|
|
package/main/index.js.flow
CHANGED
|
@@ -217,7 +217,6 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
217
217
|
IFileTypeAttrs: Class<replit$goval$api$IFileTypeAttrs>,
|
|
218
218
|
IPackagerOption: Class<replit$goval$api$IPackagerOption>,
|
|
219
219
|
IReplToken: Class<replit$goval$api$IReplToken>,
|
|
220
|
-
IBuildInfo: Class<replit$goval$api$IBuildInfo>,
|
|
221
220
|
ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
|
|
222
221
|
IReplTransfer: Class<replit$goval$api$IReplTransfer>,
|
|
223
222
|
IAllowReplRequest: Class<replit$goval$api$IAllowReplRequest>,
|
|
@@ -435,7 +434,6 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
435
434
|
FileTypeAttrs: typeof replit$goval$api$FileTypeAttrs,
|
|
436
435
|
PackagerOption: typeof replit$goval$api$PackagerOption,
|
|
437
436
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
438
|
-
BuildInfo: typeof replit$goval$api$BuildInfo,
|
|
439
437
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
440
438
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
441
439
|
AllowReplRequest: typeof replit$goval$api$AllowReplRequest,
|
|
@@ -29139,7 +29137,10 @@ declare type replit$goval$api$IReplToken = {|
|
|
|
29139
29137
|
/**
|
|
29140
29138
|
* ReplToken buildInfo
|
|
29141
29139
|
*/
|
|
29142
|
-
buildInfo?:
|
|
29140
|
+
buildInfo?:
|
|
29141
|
+
| replit$goval$api$repl$BuildInfo
|
|
29142
|
+
| replit$goval$api$repl$IBuildInfo
|
|
29143
|
+
| null,
|
|
29143
29144
|
|};
|
|
29144
29145
|
|
|
29145
29146
|
/**
|
|
@@ -29230,7 +29231,7 @@ declare class replit$goval$api$ReplToken {
|
|
|
29230
29231
|
/**
|
|
29231
29232
|
* ReplToken buildInfo.
|
|
29232
29233
|
*/
|
|
29233
|
-
buildInfo?: replit$goval$api$BuildInfo | null;
|
|
29234
|
+
buildInfo?: replit$goval$api$repl$BuildInfo | null;
|
|
29234
29235
|
|
|
29235
29236
|
/**
|
|
29236
29237
|
* ReplToken metadata.
|
|
@@ -29738,136 +29739,6 @@ declare class replit$goval$api$ReplToken$Presenced {
|
|
|
29738
29739
|
|};
|
|
29739
29740
|
}
|
|
29740
29741
|
|
|
29741
|
-
/**
|
|
29742
|
-
* Properties of a BuildInfo.
|
|
29743
|
-
*/
|
|
29744
|
-
declare type replit$goval$api$IBuildInfo = {|
|
|
29745
|
-
/**
|
|
29746
|
-
* BuildInfo id
|
|
29747
|
-
*/
|
|
29748
|
-
id?: string | null,
|
|
29749
|
-
|
|
29750
|
-
/**
|
|
29751
|
-
* BuildInfo url
|
|
29752
|
-
*/
|
|
29753
|
-
url?: string | null,
|
|
29754
|
-
|};
|
|
29755
|
-
|
|
29756
|
-
/**
|
|
29757
|
-
* Represents a BuildInfo.
|
|
29758
|
-
*/
|
|
29759
|
-
declare class replit$goval$api$BuildInfo {
|
|
29760
|
-
/**
|
|
29761
|
-
* Constructs a new BuildInfo.
|
|
29762
|
-
* @param [properties] Properties to set
|
|
29763
|
-
*/
|
|
29764
|
-
constructor(properties?: replit$goval$api$IBuildInfo): this;
|
|
29765
|
-
|
|
29766
|
-
/**
|
|
29767
|
-
* BuildInfo id.
|
|
29768
|
-
*/
|
|
29769
|
-
id: string;
|
|
29770
|
-
|
|
29771
|
-
/**
|
|
29772
|
-
* BuildInfo url.
|
|
29773
|
-
*/
|
|
29774
|
-
url: string;
|
|
29775
|
-
|
|
29776
|
-
/**
|
|
29777
|
-
* Creates a new BuildInfo instance using the specified properties.
|
|
29778
|
-
* @param [properties] Properties to set
|
|
29779
|
-
* @returns BuildInfo instance
|
|
29780
|
-
*/
|
|
29781
|
-
static create(
|
|
29782
|
-
properties?: replit$goval$api$IBuildInfo
|
|
29783
|
-
): replit$goval$api$BuildInfo;
|
|
29784
|
-
|
|
29785
|
-
/**
|
|
29786
|
-
* [object Object],[object Object],[object Object]
|
|
29787
|
-
* @param message BuildInfo message or plain object to encode
|
|
29788
|
-
* @param [writer] Writer to encode to
|
|
29789
|
-
* @returns Writer
|
|
29790
|
-
*/
|
|
29791
|
-
static encode(
|
|
29792
|
-
message: replit$goval$api$BuildInfo,
|
|
29793
|
-
writer?: $protobuf.Writer
|
|
29794
|
-
): $protobuf.Writer;
|
|
29795
|
-
|
|
29796
|
-
/**
|
|
29797
|
-
* [object Object],[object Object],[object Object]
|
|
29798
|
-
* @param message BuildInfo message or plain object to encode
|
|
29799
|
-
* @param [writer] Writer to encode to
|
|
29800
|
-
* @returns Writer
|
|
29801
|
-
*/
|
|
29802
|
-
static encodeDelimited(
|
|
29803
|
-
message: replit$goval$api$BuildInfo,
|
|
29804
|
-
writer?: $protobuf.Writer
|
|
29805
|
-
): $protobuf.Writer;
|
|
29806
|
-
|
|
29807
|
-
/**
|
|
29808
|
-
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
29809
|
-
* @param reader Reader or buffer to decode from
|
|
29810
|
-
* @param [length] Message length if known beforehand
|
|
29811
|
-
* @returns BuildInfo
|
|
29812
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29813
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29814
|
-
*/
|
|
29815
|
-
static decode(
|
|
29816
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
29817
|
-
length?: number
|
|
29818
|
-
): replit$goval$api$BuildInfo;
|
|
29819
|
-
|
|
29820
|
-
/**
|
|
29821
|
-
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
29822
|
-
* @param reader Reader or buffer to decode from
|
|
29823
|
-
* @returns BuildInfo
|
|
29824
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29825
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29826
|
-
*/
|
|
29827
|
-
static decodeDelimited(
|
|
29828
|
-
reader: $protobuf.Reader | Uint8Array
|
|
29829
|
-
): replit$goval$api$BuildInfo;
|
|
29830
|
-
|
|
29831
|
-
/**
|
|
29832
|
-
* Verifies a BuildInfo message.
|
|
29833
|
-
* @param message Plain object to verify
|
|
29834
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
29835
|
-
*/
|
|
29836
|
-
static verify(message: {|
|
|
29837
|
-
[k: string]: any,
|
|
29838
|
-
|}): string | null;
|
|
29839
|
-
|
|
29840
|
-
/**
|
|
29841
|
-
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
29842
|
-
* @param object Plain object
|
|
29843
|
-
* @returns BuildInfo
|
|
29844
|
-
*/
|
|
29845
|
-
static fromObject(object: {|
|
|
29846
|
-
[k: string]: any,
|
|
29847
|
-
|}): replit$goval$api$BuildInfo;
|
|
29848
|
-
|
|
29849
|
-
/**
|
|
29850
|
-
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
29851
|
-
* @param message BuildInfo
|
|
29852
|
-
* @param [options] Conversion options
|
|
29853
|
-
* @returns Plain object
|
|
29854
|
-
*/
|
|
29855
|
-
static toObject(
|
|
29856
|
-
message: replit$goval$api$BuildInfo,
|
|
29857
|
-
options?: $protobuf.IConversionOptions
|
|
29858
|
-
): {|
|
|
29859
|
-
[k: string]: any,
|
|
29860
|
-
|};
|
|
29861
|
-
|
|
29862
|
-
/**
|
|
29863
|
-
* Converts this BuildInfo to JSON.
|
|
29864
|
-
* @returns JSON object
|
|
29865
|
-
*/
|
|
29866
|
-
toJSON(): {|
|
|
29867
|
-
[k: string]: any,
|
|
29868
|
-
|};
|
|
29869
|
-
}
|
|
29870
|
-
|
|
29871
29742
|
/**
|
|
29872
29743
|
* Properties of a TLSCertificate.
|
|
29873
29744
|
*/
|
|
@@ -33378,12 +33249,14 @@ declare var npm$namespace$replit$goval$api$repl: {|
|
|
|
33378
33249
|
IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
|
|
33379
33250
|
IPermissions: Class<replit$goval$api$repl$IPermissions>,
|
|
33380
33251
|
IMetadata: Class<replit$goval$api$repl$IMetadata>,
|
|
33252
|
+
IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
|
|
33381
33253
|
Buckets: typeof replit$goval$api$repl$Buckets,
|
|
33382
33254
|
Repl: typeof replit$goval$api$repl$Repl,
|
|
33383
33255
|
UserId: typeof replit$goval$api$repl$UserId,
|
|
33384
33256
|
ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
|
|
33385
33257
|
Permissions: typeof replit$goval$api$repl$Permissions,
|
|
33386
33258
|
Metadata: typeof replit$goval$api$repl$Metadata,
|
|
33259
|
+
BuildInfo: typeof replit$goval$api$repl$BuildInfo,
|
|
33387
33260
|
|};
|
|
33388
33261
|
|
|
33389
33262
|
/**
|
|
@@ -34241,6 +34114,14 @@ declare type replit$goval$api$repl$IMetadata = {|
|
|
|
34241
34114
|
features?:
|
|
34242
34115
|
| (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
|
|
34243
34116
|
| null,
|
|
34117
|
+
|
|
34118
|
+
/**
|
|
34119
|
+
* Metadata buildInfo
|
|
34120
|
+
*/
|
|
34121
|
+
buildInfo?:
|
|
34122
|
+
| replit$goval$api$repl$BuildInfo
|
|
34123
|
+
| replit$goval$api$repl$IBuildInfo
|
|
34124
|
+
| null,
|
|
34244
34125
|
|};
|
|
34245
34126
|
|
|
34246
34127
|
/**
|
|
@@ -34288,6 +34169,11 @@ declare class replit$goval$api$repl$Metadata {
|
|
|
34288
34169
|
*/
|
|
34289
34170
|
features: replit$goval$api$features$Feature[];
|
|
34290
34171
|
|
|
34172
|
+
/**
|
|
34173
|
+
* Metadata buildInfo.
|
|
34174
|
+
*/
|
|
34175
|
+
buildInfo?: replit$goval$api$repl$BuildInfo | null;
|
|
34176
|
+
|
|
34291
34177
|
/**
|
|
34292
34178
|
* Creates a new Metadata instance using the specified properties.
|
|
34293
34179
|
* @param [properties] Properties to set
|
|
@@ -34382,6 +34268,136 @@ declare class replit$goval$api$repl$Metadata {
|
|
|
34382
34268
|
[k: string]: any,
|
|
34383
34269
|
|};
|
|
34384
34270
|
}
|
|
34271
|
+
|
|
34272
|
+
/**
|
|
34273
|
+
* Properties of a BuildInfo.
|
|
34274
|
+
*/
|
|
34275
|
+
declare type replit$goval$api$repl$IBuildInfo = {|
|
|
34276
|
+
/**
|
|
34277
|
+
* BuildInfo id
|
|
34278
|
+
*/
|
|
34279
|
+
id?: string | null,
|
|
34280
|
+
|
|
34281
|
+
/**
|
|
34282
|
+
* BuildInfo url
|
|
34283
|
+
*/
|
|
34284
|
+
url?: string | null,
|
|
34285
|
+
|};
|
|
34286
|
+
|
|
34287
|
+
/**
|
|
34288
|
+
* Represents a BuildInfo.
|
|
34289
|
+
*/
|
|
34290
|
+
declare class replit$goval$api$repl$BuildInfo {
|
|
34291
|
+
/**
|
|
34292
|
+
* Constructs a new BuildInfo.
|
|
34293
|
+
* @param [properties] Properties to set
|
|
34294
|
+
*/
|
|
34295
|
+
constructor(properties?: replit$goval$api$repl$IBuildInfo): this;
|
|
34296
|
+
|
|
34297
|
+
/**
|
|
34298
|
+
* BuildInfo id.
|
|
34299
|
+
*/
|
|
34300
|
+
id: string;
|
|
34301
|
+
|
|
34302
|
+
/**
|
|
34303
|
+
* BuildInfo url.
|
|
34304
|
+
*/
|
|
34305
|
+
url: string;
|
|
34306
|
+
|
|
34307
|
+
/**
|
|
34308
|
+
* Creates a new BuildInfo instance using the specified properties.
|
|
34309
|
+
* @param [properties] Properties to set
|
|
34310
|
+
* @returns BuildInfo instance
|
|
34311
|
+
*/
|
|
34312
|
+
static create(
|
|
34313
|
+
properties?: replit$goval$api$repl$IBuildInfo
|
|
34314
|
+
): replit$goval$api$repl$BuildInfo;
|
|
34315
|
+
|
|
34316
|
+
/**
|
|
34317
|
+
* [object Object],[object Object],[object Object]
|
|
34318
|
+
* @param message BuildInfo message or plain object to encode
|
|
34319
|
+
* @param [writer] Writer to encode to
|
|
34320
|
+
* @returns Writer
|
|
34321
|
+
*/
|
|
34322
|
+
static encode(
|
|
34323
|
+
message: replit$goval$api$repl$BuildInfo,
|
|
34324
|
+
writer?: $protobuf.Writer
|
|
34325
|
+
): $protobuf.Writer;
|
|
34326
|
+
|
|
34327
|
+
/**
|
|
34328
|
+
* [object Object],[object Object],[object Object]
|
|
34329
|
+
* @param message BuildInfo message or plain object to encode
|
|
34330
|
+
* @param [writer] Writer to encode to
|
|
34331
|
+
* @returns Writer
|
|
34332
|
+
*/
|
|
34333
|
+
static encodeDelimited(
|
|
34334
|
+
message: replit$goval$api$repl$BuildInfo,
|
|
34335
|
+
writer?: $protobuf.Writer
|
|
34336
|
+
): $protobuf.Writer;
|
|
34337
|
+
|
|
34338
|
+
/**
|
|
34339
|
+
* Decodes a BuildInfo message from the specified reader or buffer.
|
|
34340
|
+
* @param reader Reader or buffer to decode from
|
|
34341
|
+
* @param [length] Message length if known beforehand
|
|
34342
|
+
* @returns BuildInfo
|
|
34343
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34344
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34345
|
+
*/
|
|
34346
|
+
static decode(
|
|
34347
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
34348
|
+
length?: number
|
|
34349
|
+
): replit$goval$api$repl$BuildInfo;
|
|
34350
|
+
|
|
34351
|
+
/**
|
|
34352
|
+
* Decodes a BuildInfo message from the specified reader or buffer, length delimited.
|
|
34353
|
+
* @param reader Reader or buffer to decode from
|
|
34354
|
+
* @returns BuildInfo
|
|
34355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34357
|
+
*/
|
|
34358
|
+
static decodeDelimited(
|
|
34359
|
+
reader: $protobuf.Reader | Uint8Array
|
|
34360
|
+
): replit$goval$api$repl$BuildInfo;
|
|
34361
|
+
|
|
34362
|
+
/**
|
|
34363
|
+
* Verifies a BuildInfo message.
|
|
34364
|
+
* @param message Plain object to verify
|
|
34365
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34366
|
+
*/
|
|
34367
|
+
static verify(message: {|
|
|
34368
|
+
[k: string]: any,
|
|
34369
|
+
|}): string | null;
|
|
34370
|
+
|
|
34371
|
+
/**
|
|
34372
|
+
* Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
|
|
34373
|
+
* @param object Plain object
|
|
34374
|
+
* @returns BuildInfo
|
|
34375
|
+
*/
|
|
34376
|
+
static fromObject(object: {|
|
|
34377
|
+
[k: string]: any,
|
|
34378
|
+
|}): replit$goval$api$repl$BuildInfo;
|
|
34379
|
+
|
|
34380
|
+
/**
|
|
34381
|
+
* Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
|
|
34382
|
+
* @param message BuildInfo
|
|
34383
|
+
* @param [options] Conversion options
|
|
34384
|
+
* @returns Plain object
|
|
34385
|
+
*/
|
|
34386
|
+
static toObject(
|
|
34387
|
+
message: replit$goval$api$repl$BuildInfo,
|
|
34388
|
+
options?: $protobuf.IConversionOptions
|
|
34389
|
+
): {|
|
|
34390
|
+
[k: string]: any,
|
|
34391
|
+
|};
|
|
34392
|
+
|
|
34393
|
+
/**
|
|
34394
|
+
* Converts this BuildInfo to JSON.
|
|
34395
|
+
* @returns JSON object
|
|
34396
|
+
*/
|
|
34397
|
+
toJSON(): {|
|
|
34398
|
+
[k: string]: any,
|
|
34399
|
+
|};
|
|
34400
|
+
}
|
|
34385
34401
|
export var google = npm$namespace$google;
|
|
34386
34402
|
|
|
34387
34403
|
declare var npm$namespace$google: {|
|