@replit/protocol 0.2.95 → 0.2.97

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 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
 
@@ -22036,6 +21940,9 @@ export namespace replit {
22036
21940
 
22037
21941
  /** GovalReplIdentity originReplid */
22038
21942
  originReplid?: (string|null);
21943
+
21944
+ /** GovalReplIdentity userId */
21945
+ userId?: (number|null);
22039
21946
  }
22040
21947
 
22041
21948
  /** Represents a GovalReplIdentity. */
@@ -22065,6 +21972,9 @@ export namespace replit {
22065
21972
  /** GovalReplIdentity originReplid. */
22066
21973
  public originReplid: string;
22067
21974
 
21975
+ /** GovalReplIdentity userId. */
21976
+ public userId: number;
21977
+
22068
21978
  /**
22069
21979
  * Creates a new GovalReplIdentity instance using the specified properties.
22070
21980
  * @param [properties] Properties to set
@@ -24032,6 +23942,9 @@ export namespace replit {
24032
23942
 
24033
23943
  /** Metadata features */
24034
23944
  features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
23945
+
23946
+ /** Metadata buildInfo */
23947
+ buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
24035
23948
  }
24036
23949
 
24037
23950
  /** Represents a Metadata. */
@@ -24064,6 +23977,9 @@ export namespace replit {
24064
23977
  /** Metadata features. */
24065
23978
  public features: replit.goval.api.features.Feature[];
24066
23979
 
23980
+ /** Metadata buildInfo. */
23981
+ public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
23982
+
24067
23983
  /**
24068
23984
  * Creates a new Metadata instance using the specified properties.
24069
23985
  * @param [properties] Properties to set
@@ -24134,6 +24050,102 @@ export namespace replit {
24134
24050
  */
24135
24051
  public toJSON(): { [k: string]: any };
24136
24052
  }
24053
+
24054
+ /** Properties of a BuildInfo. */
24055
+ interface IBuildInfo {
24056
+
24057
+ /** BuildInfo deploymentId */
24058
+ deploymentId?: (string|null);
24059
+
24060
+ /** BuildInfo url */
24061
+ url?: (string|null);
24062
+ }
24063
+
24064
+ /** Represents a BuildInfo. */
24065
+ class BuildInfo {
24066
+
24067
+ /**
24068
+ * Constructs a new BuildInfo.
24069
+ * @param [properties] Properties to set
24070
+ */
24071
+ private constructor(properties?: replit.goval.api.repl.IBuildInfo);
24072
+
24073
+ /** BuildInfo deploymentId. */
24074
+ public deploymentId: string;
24075
+
24076
+ /** BuildInfo url. */
24077
+ public url: string;
24078
+
24079
+ /**
24080
+ * Creates a new BuildInfo instance using the specified properties.
24081
+ * @param [properties] Properties to set
24082
+ * @returns BuildInfo instance
24083
+ */
24084
+ public static create(properties?: replit.goval.api.repl.IBuildInfo): replit.goval.api.repl.BuildInfo;
24085
+
24086
+ /**
24087
+ * Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
24088
+ * @param message BuildInfo message or plain object to encode
24089
+ * @param [writer] Writer to encode to
24090
+ * @returns Writer
24091
+ */
24092
+ public static encode(message: replit.goval.api.repl.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
24093
+
24094
+ /**
24095
+ * Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
24096
+ * @param message BuildInfo message or plain object to encode
24097
+ * @param [writer] Writer to encode to
24098
+ * @returns Writer
24099
+ */
24100
+ public static encodeDelimited(message: replit.goval.api.repl.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
24101
+
24102
+ /**
24103
+ * Decodes a BuildInfo message from the specified reader or buffer.
24104
+ * @param reader Reader or buffer to decode from
24105
+ * @param [length] Message length if known beforehand
24106
+ * @returns BuildInfo
24107
+ * @throws {Error} If the payload is not a reader or valid buffer
24108
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24109
+ */
24110
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.BuildInfo;
24111
+
24112
+ /**
24113
+ * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
24114
+ * @param reader Reader or buffer to decode from
24115
+ * @returns BuildInfo
24116
+ * @throws {Error} If the payload is not a reader or valid buffer
24117
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24118
+ */
24119
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.BuildInfo;
24120
+
24121
+ /**
24122
+ * Verifies a BuildInfo message.
24123
+ * @param message Plain object to verify
24124
+ * @returns `null` if valid, otherwise the reason why it is not
24125
+ */
24126
+ public static verify(message: { [k: string]: any }): (string|null);
24127
+
24128
+ /**
24129
+ * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
24130
+ * @param object Plain object
24131
+ * @returns BuildInfo
24132
+ */
24133
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.BuildInfo;
24134
+
24135
+ /**
24136
+ * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
24137
+ * @param message BuildInfo
24138
+ * @param [options] Conversion options
24139
+ * @returns Plain object
24140
+ */
24141
+ public static toObject(message: replit.goval.api.repl.BuildInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
24142
+
24143
+ /**
24144
+ * Converts this BuildInfo to JSON.
24145
+ * @returns JSON object
24146
+ */
24147
+ public toJSON(): { [k: string]: any };
24148
+ }
24137
24149
  }
24138
24150
  }
24139
24151
  }
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
  /**
@@ -54992,6 +54783,7 @@
54992
54783
  * @property {string|null} [aud] GovalReplIdentity aud
54993
54784
  * @property {boolean|null} [ephemeral] GovalReplIdentity ephemeral
54994
54785
  * @property {string|null} [originReplid] GovalReplIdentity originReplid
54786
+ * @property {number|null} [userId] GovalReplIdentity userId
54995
54787
  */
54996
54788
 
54997
54789
  /**
@@ -55056,6 +54848,14 @@
55056
54848
  */
55057
54849
  GovalReplIdentity.prototype.originReplid = "";
55058
54850
 
54851
+ /**
54852
+ * GovalReplIdentity userId.
54853
+ * @member {number} userId
54854
+ * @memberof replit.goval.api.GovalReplIdentity
54855
+ * @instance
54856
+ */
54857
+ GovalReplIdentity.prototype.userId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
54858
+
55059
54859
  /**
55060
54860
  * Creates a new GovalReplIdentity instance using the specified properties.
55061
54861
  * @function create
@@ -55092,6 +54892,8 @@
55092
54892
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.ephemeral);
55093
54893
  if (message.originReplid != null && Object.hasOwnProperty.call(message, "originReplid"))
55094
54894
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.originReplid);
54895
+ if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
54896
+ writer.uint32(/* id 7, wireType 0 =*/56).int64(message.userId);
55095
54897
  return writer;
55096
54898
  };
55097
54899
 
@@ -55144,6 +54946,9 @@
55144
54946
  case 6:
55145
54947
  message.originReplid = reader.string();
55146
54948
  break;
54949
+ case 7:
54950
+ message.userId = reader.int64();
54951
+ break;
55147
54952
  default:
55148
54953
  reader.skipType(tag & 7);
55149
54954
  break;
@@ -55197,6 +55002,9 @@
55197
55002
  if (message.originReplid != null && message.hasOwnProperty("originReplid"))
55198
55003
  if (!$util.isString(message.originReplid))
55199
55004
  return "originReplid: string expected";
55005
+ if (message.userId != null && message.hasOwnProperty("userId"))
55006
+ if (!$util.isInteger(message.userId) && !(message.userId && $util.isInteger(message.userId.low) && $util.isInteger(message.userId.high)))
55007
+ return "userId: integer|Long expected";
55200
55008
  return null;
55201
55009
  };
55202
55010
 
@@ -55224,6 +55032,15 @@
55224
55032
  message.ephemeral = Boolean(object.ephemeral);
55225
55033
  if (object.originReplid != null)
55226
55034
  message.originReplid = String(object.originReplid);
55035
+ if (object.userId != null)
55036
+ if ($util.Long)
55037
+ (message.userId = $util.Long.fromValue(object.userId)).unsigned = false;
55038
+ else if (typeof object.userId === "string")
55039
+ message.userId = parseInt(object.userId, 10);
55040
+ else if (typeof object.userId === "number")
55041
+ message.userId = object.userId;
55042
+ else if (typeof object.userId === "object")
55043
+ message.userId = new $util.LongBits(object.userId.low >>> 0, object.userId.high >>> 0).toNumber();
55227
55044
  return message;
55228
55045
  };
55229
55046
 
@@ -55247,6 +55064,11 @@
55247
55064
  object.aud = "";
55248
55065
  object.ephemeral = false;
55249
55066
  object.originReplid = "";
55067
+ if ($util.Long) {
55068
+ var long = new $util.Long(0, 0, false);
55069
+ object.userId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
55070
+ } else
55071
+ object.userId = options.longs === String ? "0" : 0;
55250
55072
  }
55251
55073
  if (message.replid != null && message.hasOwnProperty("replid"))
55252
55074
  object.replid = message.replid;
@@ -55260,6 +55082,11 @@
55260
55082
  object.ephemeral = message.ephemeral;
55261
55083
  if (message.originReplid != null && message.hasOwnProperty("originReplid"))
55262
55084
  object.originReplid = message.originReplid;
55085
+ if (message.userId != null && message.hasOwnProperty("userId"))
55086
+ if (typeof message.userId === "number")
55087
+ object.userId = options.longs === String ? String(message.userId) : message.userId;
55088
+ else
55089
+ object.userId = options.longs === String ? $util.Long.prototype.toString.call(message.userId) : options.longs === Number ? new $util.LongBits(message.userId.low >>> 0, message.userId.high >>> 0).toNumber() : message.userId;
55263
55090
  return object;
55264
55091
  };
55265
55092
 
@@ -59814,6 +59641,7 @@
59814
59641
  * @property {Array.<string>|null} [flags] Metadata flags
59815
59642
  * @property {replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null} [permissions] Metadata permissions
59816
59643
  * @property {Array.<replit.goval.api.features.Feature|replit.goval.api.features.IFeature>|null} [features] Metadata features
59644
+ * @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] Metadata buildInfo
59817
59645
  */
59818
59646
 
59819
59647
  /**
@@ -59888,6 +59716,14 @@
59888
59716
  */
59889
59717
  Metadata.prototype.features = $util.emptyArray;
59890
59718
 
59719
+ /**
59720
+ * Metadata buildInfo.
59721
+ * @member {replit.goval.api.repl.BuildInfo|null|undefined} buildInfo
59722
+ * @memberof replit.goval.api.repl.Metadata
59723
+ * @instance
59724
+ */
59725
+ Metadata.prototype.buildInfo = null;
59726
+
59891
59727
  /**
59892
59728
  * Creates a new Metadata instance using the specified properties.
59893
59729
  * @function create
@@ -59928,6 +59764,8 @@
59928
59764
  $root.replit.goval.api.features.Feature.encode(message.features[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
59929
59765
  if (message.interactiveResourceLimits != null && Object.hasOwnProperty.call(message, "interactiveResourceLimits"))
59930
59766
  $root.replit.goval.api.repl.ResourceLimits.encode(message.interactiveResourceLimits, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
59767
+ if (message.buildInfo != null && Object.hasOwnProperty.call(message, "buildInfo"))
59768
+ $root.replit.goval.api.repl.BuildInfo.encode(message.buildInfo, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
59931
59769
  return writer;
59932
59770
  };
59933
59771
 
@@ -59987,6 +59825,9 @@
59987
59825
  message.features = [];
59988
59826
  message.features.push($root.replit.goval.api.features.Feature.decode(reader, reader.uint32()));
59989
59827
  break;
59828
+ case 18:
59829
+ message.buildInfo = $root.replit.goval.api.repl.BuildInfo.decode(reader, reader.uint32());
59830
+ break;
59990
59831
  default:
59991
59832
  reader.skipType(tag & 7);
59992
59833
  break;
@@ -60068,6 +59909,11 @@
60068
59909
  return "features." + error;
60069
59910
  }
60070
59911
  }
59912
+ if (message.buildInfo != null && message.hasOwnProperty("buildInfo")) {
59913
+ var error = $root.replit.goval.api.repl.BuildInfo.verify(message.buildInfo);
59914
+ if (error)
59915
+ return "buildInfo." + error;
59916
+ }
60071
59917
  return null;
60072
59918
  };
60073
59919
 
@@ -60138,6 +59984,11 @@
60138
59984
  message.features[i] = $root.replit.goval.api.features.Feature.fromObject(object.features[i]);
60139
59985
  }
60140
59986
  }
59987
+ if (object.buildInfo != null) {
59988
+ if (typeof object.buildInfo !== "object")
59989
+ throw TypeError(".replit.goval.api.repl.Metadata.buildInfo: object expected");
59990
+ message.buildInfo = $root.replit.goval.api.repl.BuildInfo.fromObject(object.buildInfo);
59991
+ }
60141
59992
  return message;
60142
59993
  };
60143
59994
 
@@ -60164,6 +60015,7 @@
60164
60015
  object.resourceLimits = null;
60165
60016
  object.permissions = null;
60166
60017
  object.interactiveResourceLimits = null;
60018
+ object.buildInfo = null;
60167
60019
  }
60168
60020
  if (message.persistence != null && message.hasOwnProperty("persistence"))
60169
60021
  object.persistence = options.enums === String ? $root.replit.goval.api.repl.Persistence[message.persistence] : message.persistence;
@@ -60185,6 +60037,8 @@
60185
60037
  }
60186
60038
  if (message.interactiveResourceLimits != null && message.hasOwnProperty("interactiveResourceLimits"))
60187
60039
  object.interactiveResourceLimits = $root.replit.goval.api.repl.ResourceLimits.toObject(message.interactiveResourceLimits, options);
60040
+ if (message.buildInfo != null && message.hasOwnProperty("buildInfo"))
60041
+ object.buildInfo = $root.replit.goval.api.repl.BuildInfo.toObject(message.buildInfo, options);
60188
60042
  return object;
60189
60043
  };
60190
60044
 
@@ -60202,6 +60056,215 @@
60202
60056
  return Metadata;
60203
60057
  })();
60204
60058
 
60059
+ repl.BuildInfo = (function() {
60060
+
60061
+ /**
60062
+ * Properties of a BuildInfo.
60063
+ * @memberof replit.goval.api.repl
60064
+ * @interface IBuildInfo
60065
+ * @property {string|null} [deploymentId] BuildInfo deploymentId
60066
+ * @property {string|null} [url] BuildInfo url
60067
+ */
60068
+
60069
+ /**
60070
+ * Constructs a new BuildInfo.
60071
+ * @memberof replit.goval.api.repl
60072
+ * @classdesc Represents a BuildInfo.
60073
+ * @constructor
60074
+ * @param {replit.goval.api.repl.IBuildInfo=} [properties] Properties to set
60075
+ */
60076
+ function BuildInfo(properties) {
60077
+ if (properties)
60078
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
60079
+ if (properties[keys[i]] != null)
60080
+ this[keys[i]] = properties[keys[i]];
60081
+ }
60082
+
60083
+ /**
60084
+ * BuildInfo deploymentId.
60085
+ * @member {string} deploymentId
60086
+ * @memberof replit.goval.api.repl.BuildInfo
60087
+ * @instance
60088
+ */
60089
+ BuildInfo.prototype.deploymentId = "";
60090
+
60091
+ /**
60092
+ * BuildInfo url.
60093
+ * @member {string} url
60094
+ * @memberof replit.goval.api.repl.BuildInfo
60095
+ * @instance
60096
+ */
60097
+ BuildInfo.prototype.url = "";
60098
+
60099
+ /**
60100
+ * Creates a new BuildInfo instance using the specified properties.
60101
+ * @function create
60102
+ * @memberof replit.goval.api.repl.BuildInfo
60103
+ * @static
60104
+ * @param {replit.goval.api.repl.IBuildInfo=} [properties] Properties to set
60105
+ * @returns {replit.goval.api.repl.BuildInfo} BuildInfo instance
60106
+ */
60107
+ BuildInfo.create = function create(properties) {
60108
+ return BuildInfo.fromObject(properties);
60109
+ };
60110
+
60111
+ /**
60112
+ * Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
60113
+ * @function encode
60114
+ * @memberof replit.goval.api.repl.BuildInfo
60115
+ * @static
60116
+ * @param {replit.goval.api.repl.BuildInfo} message BuildInfo message or plain object to encode
60117
+ * @param {$protobuf.Writer} [writer] Writer to encode to
60118
+ * @returns {$protobuf.Writer} Writer
60119
+ */
60120
+ BuildInfo.encode = function encode(message, writer) {
60121
+ if (!writer)
60122
+ writer = $Writer.create();
60123
+ if (message.deploymentId != null && Object.hasOwnProperty.call(message, "deploymentId"))
60124
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.deploymentId);
60125
+ if (message.url != null && Object.hasOwnProperty.call(message, "url"))
60126
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.url);
60127
+ return writer;
60128
+ };
60129
+
60130
+ /**
60131
+ * Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.repl.BuildInfo.verify|verify} messages.
60132
+ * @function encodeDelimited
60133
+ * @memberof replit.goval.api.repl.BuildInfo
60134
+ * @static
60135
+ * @param {replit.goval.api.repl.BuildInfo} message BuildInfo message or plain object to encode
60136
+ * @param {$protobuf.Writer} [writer] Writer to encode to
60137
+ * @returns {$protobuf.Writer} Writer
60138
+ */
60139
+ BuildInfo.encodeDelimited = function encodeDelimited(message, writer) {
60140
+ return this.encode(message, writer).ldelim();
60141
+ };
60142
+
60143
+ /**
60144
+ * Decodes a BuildInfo message from the specified reader or buffer.
60145
+ * @function decode
60146
+ * @memberof replit.goval.api.repl.BuildInfo
60147
+ * @static
60148
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
60149
+ * @param {number} [length] Message length if known beforehand
60150
+ * @returns {replit.goval.api.repl.BuildInfo} BuildInfo
60151
+ * @throws {Error} If the payload is not a reader or valid buffer
60152
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
60153
+ */
60154
+ BuildInfo.decode = function decode(reader, length) {
60155
+ if (!(reader instanceof $Reader))
60156
+ reader = $Reader.create(reader);
60157
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.repl.BuildInfo();
60158
+ while (reader.pos < end) {
60159
+ var tag = reader.uint32();
60160
+ switch (tag >>> 3) {
60161
+ case 1:
60162
+ message.deploymentId = reader.string();
60163
+ break;
60164
+ case 2:
60165
+ message.url = reader.string();
60166
+ break;
60167
+ default:
60168
+ reader.skipType(tag & 7);
60169
+ break;
60170
+ }
60171
+ }
60172
+ return message;
60173
+ };
60174
+
60175
+ /**
60176
+ * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
60177
+ * @function decodeDelimited
60178
+ * @memberof replit.goval.api.repl.BuildInfo
60179
+ * @static
60180
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
60181
+ * @returns {replit.goval.api.repl.BuildInfo} BuildInfo
60182
+ * @throws {Error} If the payload is not a reader or valid buffer
60183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
60184
+ */
60185
+ BuildInfo.decodeDelimited = function decodeDelimited(reader) {
60186
+ if (!(reader instanceof $Reader))
60187
+ reader = new $Reader(reader);
60188
+ return this.decode(reader, reader.uint32());
60189
+ };
60190
+
60191
+ /**
60192
+ * Verifies a BuildInfo message.
60193
+ * @function verify
60194
+ * @memberof replit.goval.api.repl.BuildInfo
60195
+ * @static
60196
+ * @param {Object.<string,*>} message Plain object to verify
60197
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
60198
+ */
60199
+ BuildInfo.verify = function verify(message) {
60200
+ if (typeof message !== "object" || message === null)
60201
+ return "object expected";
60202
+ if (message.deploymentId != null && message.hasOwnProperty("deploymentId"))
60203
+ if (!$util.isString(message.deploymentId))
60204
+ return "deploymentId: string expected";
60205
+ if (message.url != null && message.hasOwnProperty("url"))
60206
+ if (!$util.isString(message.url))
60207
+ return "url: string expected";
60208
+ return null;
60209
+ };
60210
+
60211
+ /**
60212
+ * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
60213
+ * @function fromObject
60214
+ * @memberof replit.goval.api.repl.BuildInfo
60215
+ * @static
60216
+ * @param {Object.<string,*>} object Plain object
60217
+ * @returns {replit.goval.api.repl.BuildInfo} BuildInfo
60218
+ */
60219
+ BuildInfo.fromObject = function fromObject(object) {
60220
+ if (object instanceof $root.replit.goval.api.repl.BuildInfo)
60221
+ return object;
60222
+ var message = new $root.replit.goval.api.repl.BuildInfo();
60223
+ if (object.deploymentId != null)
60224
+ message.deploymentId = String(object.deploymentId);
60225
+ if (object.url != null)
60226
+ message.url = String(object.url);
60227
+ return message;
60228
+ };
60229
+
60230
+ /**
60231
+ * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
60232
+ * @function toObject
60233
+ * @memberof replit.goval.api.repl.BuildInfo
60234
+ * @static
60235
+ * @param {replit.goval.api.repl.BuildInfo} message BuildInfo
60236
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
60237
+ * @returns {Object.<string,*>} Plain object
60238
+ */
60239
+ BuildInfo.toObject = function toObject(message, options) {
60240
+ if (!options)
60241
+ options = {};
60242
+ var object = {};
60243
+ if (options.defaults) {
60244
+ object.deploymentId = "";
60245
+ object.url = "";
60246
+ }
60247
+ if (message.deploymentId != null && message.hasOwnProperty("deploymentId"))
60248
+ object.deploymentId = message.deploymentId;
60249
+ if (message.url != null && message.hasOwnProperty("url"))
60250
+ object.url = message.url;
60251
+ return object;
60252
+ };
60253
+
60254
+ /**
60255
+ * Converts this BuildInfo to JSON.
60256
+ * @function toJSON
60257
+ * @memberof replit.goval.api.repl.BuildInfo
60258
+ * @instance
60259
+ * @returns {Object.<string,*>} JSON object
60260
+ */
60261
+ BuildInfo.prototype.toJSON = function toJSON() {
60262
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
60263
+ };
60264
+
60265
+ return BuildInfo;
60266
+ })();
60267
+
60205
60268
  return repl;
60206
60269
  })();
60207
60270
 
@@ -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?: replit$goval$api$BuildInfo | replit$goval$api$IBuildInfo | null,
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
  */
@@ -31421,6 +31292,11 @@ declare type replit$goval$api$IGovalReplIdentity = {|
31421
31292
  * GovalReplIdentity originReplid
31422
31293
  */
31423
31294
  originReplid?: string | null,
31295
+
31296
+ /**
31297
+ * GovalReplIdentity userId
31298
+ */
31299
+ userId?: number | null,
31424
31300
  |};
31425
31301
 
31426
31302
  /**
@@ -31463,6 +31339,11 @@ declare class replit$goval$api$GovalReplIdentity {
31463
31339
  */
31464
31340
  originReplid: string;
31465
31341
 
31342
+ /**
31343
+ * GovalReplIdentity userId.
31344
+ */
31345
+ userId: number;
31346
+
31466
31347
  /**
31467
31348
  * Creates a new GovalReplIdentity instance using the specified properties.
31468
31349
  * @param [properties] Properties to set
@@ -33378,12 +33259,14 @@ declare var npm$namespace$replit$goval$api$repl: {|
33378
33259
  IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
33379
33260
  IPermissions: Class<replit$goval$api$repl$IPermissions>,
33380
33261
  IMetadata: Class<replit$goval$api$repl$IMetadata>,
33262
+ IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
33381
33263
  Buckets: typeof replit$goval$api$repl$Buckets,
33382
33264
  Repl: typeof replit$goval$api$repl$Repl,
33383
33265
  UserId: typeof replit$goval$api$repl$UserId,
33384
33266
  ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
33385
33267
  Permissions: typeof replit$goval$api$repl$Permissions,
33386
33268
  Metadata: typeof replit$goval$api$repl$Metadata,
33269
+ BuildInfo: typeof replit$goval$api$repl$BuildInfo,
33387
33270
  |};
33388
33271
 
33389
33272
  /**
@@ -34241,6 +34124,14 @@ declare type replit$goval$api$repl$IMetadata = {|
34241
34124
  features?:
34242
34125
  | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
34243
34126
  | null,
34127
+
34128
+ /**
34129
+ * Metadata buildInfo
34130
+ */
34131
+ buildInfo?:
34132
+ | replit$goval$api$repl$BuildInfo
34133
+ | replit$goval$api$repl$IBuildInfo
34134
+ | null,
34244
34135
  |};
34245
34136
 
34246
34137
  /**
@@ -34288,6 +34179,11 @@ declare class replit$goval$api$repl$Metadata {
34288
34179
  */
34289
34180
  features: replit$goval$api$features$Feature[];
34290
34181
 
34182
+ /**
34183
+ * Metadata buildInfo.
34184
+ */
34185
+ buildInfo?: replit$goval$api$repl$BuildInfo | null;
34186
+
34291
34187
  /**
34292
34188
  * Creates a new Metadata instance using the specified properties.
34293
34189
  * @param [properties] Properties to set
@@ -34382,6 +34278,136 @@ declare class replit$goval$api$repl$Metadata {
34382
34278
  [k: string]: any,
34383
34279
  |};
34384
34280
  }
34281
+
34282
+ /**
34283
+ * Properties of a BuildInfo.
34284
+ */
34285
+ declare type replit$goval$api$repl$IBuildInfo = {|
34286
+ /**
34287
+ * BuildInfo deploymentId
34288
+ */
34289
+ deploymentId?: string | null,
34290
+
34291
+ /**
34292
+ * BuildInfo url
34293
+ */
34294
+ url?: string | null,
34295
+ |};
34296
+
34297
+ /**
34298
+ * Represents a BuildInfo.
34299
+ */
34300
+ declare class replit$goval$api$repl$BuildInfo {
34301
+ /**
34302
+ * Constructs a new BuildInfo.
34303
+ * @param [properties] Properties to set
34304
+ */
34305
+ constructor(properties?: replit$goval$api$repl$IBuildInfo): this;
34306
+
34307
+ /**
34308
+ * BuildInfo deploymentId.
34309
+ */
34310
+ deploymentId: string;
34311
+
34312
+ /**
34313
+ * BuildInfo url.
34314
+ */
34315
+ url: string;
34316
+
34317
+ /**
34318
+ * Creates a new BuildInfo instance using the specified properties.
34319
+ * @param [properties] Properties to set
34320
+ * @returns BuildInfo instance
34321
+ */
34322
+ static create(
34323
+ properties?: replit$goval$api$repl$IBuildInfo
34324
+ ): replit$goval$api$repl$BuildInfo;
34325
+
34326
+ /**
34327
+ * [object Object],[object Object],[object Object]
34328
+ * @param message BuildInfo message or plain object to encode
34329
+ * @param [writer] Writer to encode to
34330
+ * @returns Writer
34331
+ */
34332
+ static encode(
34333
+ message: replit$goval$api$repl$BuildInfo,
34334
+ writer?: $protobuf.Writer
34335
+ ): $protobuf.Writer;
34336
+
34337
+ /**
34338
+ * [object Object],[object Object],[object Object]
34339
+ * @param message BuildInfo message or plain object to encode
34340
+ * @param [writer] Writer to encode to
34341
+ * @returns Writer
34342
+ */
34343
+ static encodeDelimited(
34344
+ message: replit$goval$api$repl$BuildInfo,
34345
+ writer?: $protobuf.Writer
34346
+ ): $protobuf.Writer;
34347
+
34348
+ /**
34349
+ * Decodes a BuildInfo message from the specified reader or buffer.
34350
+ * @param reader Reader or buffer to decode from
34351
+ * @param [length] Message length if known beforehand
34352
+ * @returns BuildInfo
34353
+ * @throws {Error} If the payload is not a reader or valid buffer
34354
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34355
+ */
34356
+ static decode(
34357
+ reader: $protobuf.Reader | Uint8Array,
34358
+ length?: number
34359
+ ): replit$goval$api$repl$BuildInfo;
34360
+
34361
+ /**
34362
+ * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
34363
+ * @param reader Reader or buffer to decode from
34364
+ * @returns BuildInfo
34365
+ * @throws {Error} If the payload is not a reader or valid buffer
34366
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34367
+ */
34368
+ static decodeDelimited(
34369
+ reader: $protobuf.Reader | Uint8Array
34370
+ ): replit$goval$api$repl$BuildInfo;
34371
+
34372
+ /**
34373
+ * Verifies a BuildInfo message.
34374
+ * @param message Plain object to verify
34375
+ * @returns `null` if valid, otherwise the reason why it is not
34376
+ */
34377
+ static verify(message: {|
34378
+ [k: string]: any,
34379
+ |}): string | null;
34380
+
34381
+ /**
34382
+ * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
34383
+ * @param object Plain object
34384
+ * @returns BuildInfo
34385
+ */
34386
+ static fromObject(object: {|
34387
+ [k: string]: any,
34388
+ |}): replit$goval$api$repl$BuildInfo;
34389
+
34390
+ /**
34391
+ * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
34392
+ * @param message BuildInfo
34393
+ * @param [options] Conversion options
34394
+ * @returns Plain object
34395
+ */
34396
+ static toObject(
34397
+ message: replit$goval$api$repl$BuildInfo,
34398
+ options?: $protobuf.IConversionOptions
34399
+ ): {|
34400
+ [k: string]: any,
34401
+ |};
34402
+
34403
+ /**
34404
+ * Converts this BuildInfo to JSON.
34405
+ * @returns JSON object
34406
+ */
34407
+ toJSON(): {|
34408
+ [k: string]: any,
34409
+ |};
34410
+ }
34385
34411
  export var google = npm$namespace$google;
34386
34412
 
34387
34413
  declare var npm$namespace$google: {|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.95",
3
+ "version": "0.2.97",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",