@replit/protocol 0.4.25 → 0.4.26

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/README.md CHANGED
@@ -78,7 +78,7 @@ The ESM build enables ~80-90% bundle size reduction through tree-shaking:
78
78
  After your `.proto` changes are merged:
79
79
  - create a new branch
80
80
  - cd into `api/npm`
81
- - `pnpm --no-git-tag-version version <new-version>`
81
+ - `pnpm version <new-version> --no-git-tag-version`
82
82
  - submit a pull request
83
83
  - merged
84
84
  - pull latest `main`
@@ -84,6 +84,13 @@ export interface Cluster {
84
84
  * @generated from protobuf field: string nox_host = 5
85
85
  */
86
86
  noxHost: string;
87
+ /**
88
+ * ChateauUrl is the url of the chateau service for this cluster. May be
89
+ * empty for clusters whose chateau deployment is not yet provisioned.
90
+ *
91
+ * @generated from protobuf field: string chateau_url = 6
92
+ */
93
+ chateauUrl: string;
87
94
  }
88
95
  /**
89
96
  * @generated from protobuf message replit.goval.api.lore.CreateReplRequest
@@ -139,7 +139,8 @@ class Cluster$Type extends MessageType {
139
139
  { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
140
140
  { no: 2, name: "conman_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
141
141
  { no: 3, name: "gurl", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
142
- { no: 5, name: "nox_host", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
142
+ { no: 5, name: "nox_host", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
143
+ { no: 6, name: "chateau_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
143
144
  ]);
144
145
  }
145
146
  create(value) {
@@ -148,6 +149,7 @@ class Cluster$Type extends MessageType {
148
149
  message.conmanUrl = "";
149
150
  message.gurl = "";
150
151
  message.noxHost = "";
152
+ message.chateauUrl = "";
151
153
  if (value !== undefined)
152
154
  reflectionMergePartial(this, message, value);
153
155
  return message;
@@ -169,6 +171,9 @@ class Cluster$Type extends MessageType {
169
171
  case /* string nox_host */ 5:
170
172
  message.noxHost = reader.string();
171
173
  break;
174
+ case /* string chateau_url */ 6:
175
+ message.chateauUrl = reader.string();
176
+ break;
172
177
  default:
173
178
  let u = options.readUnknownField;
174
179
  if (u === "throw")
@@ -193,6 +198,9 @@ class Cluster$Type extends MessageType {
193
198
  /* string nox_host = 5; */
194
199
  if (message.noxHost !== "")
195
200
  writer.tag(5, WireType.LengthDelimited).string(message.noxHost);
201
+ /* string chateau_url = 6; */
202
+ if (message.chateauUrl !== "")
203
+ writer.tag(6, WireType.LengthDelimited).string(message.chateauUrl);
196
204
  let u = options.writeUnknownFields;
197
205
  if (u !== false)
198
206
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -149,6 +149,13 @@ export interface Repl {
149
149
  backerJobMetadata: {
150
150
  [key: string]: string;
151
151
  };
152
+ /**
153
+ * GCS bucket for this owner's custom skills. Empty for free owners and
154
+ * for owners that have not authored any custom skills yet.
155
+ *
156
+ * @generated from protobuf field: string custom_skills_bucket = 18
157
+ */
158
+ customSkillsBucket: string;
152
159
  }
153
160
  /**
154
161
  * autocontainer needs to know if we are in a teams org
@@ -202,7 +202,8 @@ class Repl$Type extends MessageType {
202
202
  { no: 13, name: "log_fields", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
203
203
  { no: 15, name: "use_repl_shield", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
204
204
  { no: 16, name: "connectors_host", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
205
- { no: 17, name: "backer_job_metadata", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
205
+ { no: 17, name: "backer_job_metadata", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
206
+ { no: 18, name: "custom_skills_bucket", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
206
207
  ]);
207
208
  }
208
209
  create(value) {
@@ -220,6 +221,7 @@ class Repl$Type extends MessageType {
220
221
  message.useReplShield = false;
221
222
  message.connectorsHost = "";
222
223
  message.backerJobMetadata = {};
224
+ message.customSkillsBucket = "";
223
225
  if (value !== undefined)
224
226
  reflectionMergePartial(this, message, value);
225
227
  return message;
@@ -277,6 +279,9 @@ class Repl$Type extends MessageType {
277
279
  case /* map<string, string> backer_job_metadata */ 17:
278
280
  this.binaryReadMap17(message.backerJobMetadata, reader, options);
279
281
  break;
282
+ case /* string custom_skills_bucket */ 18:
283
+ message.customSkillsBucket = reader.string();
284
+ break;
280
285
  default:
281
286
  let u = options.readUnknownField;
282
287
  if (u === "throw")
@@ -353,6 +358,9 @@ class Repl$Type extends MessageType {
353
358
  /* map<string, string> backer_job_metadata = 17; */
354
359
  for (let k of globalThis.Object.keys(message.backerJobMetadata))
355
360
  writer.tag(17, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.backerJobMetadata[k]).join();
361
+ /* string custom_skills_bucket = 18; */
362
+ if (message.customSkillsBucket !== "")
363
+ writer.tag(18, WireType.LengthDelimited).string(message.customSkillsBucket);
356
364
  let u = options.writeUnknownFields;
357
365
  if (u !== false)
358
366
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -102,7 +102,9 @@ export interface ReplToken {
102
102
  oneofKind: undefined;
103
103
  };
104
104
  /**
105
- * The resource limits for the container.
105
+ * The resource limits for the container. Goval 3 does not use this field for
106
+ * ReplPool/resource-tier selection; token producers should set resource_tier
107
+ * instead.
106
108
  *
107
109
  * @generated from protobuf field: replit.goval.api.repl.ResourceLimits resourceLimits = 10
108
110
  */
@@ -110,7 +112,8 @@ export interface ReplToken {
110
112
  /**
111
113
  * The resource limits for the container, when running in interactive mode.
112
114
  * These limits have priority over `resourceLimits` if present, and are never
113
- * cached.
115
+ * cached. Goval 3 does not use this field for ReplPool/resource-tier
116
+ * selection; token producers should set resource_tier instead.
114
117
  *
115
118
  * @generated from protobuf field: replit.goval.api.repl.ResourceLimits interactiveResourceLimits = 17
116
119
  */
@@ -182,6 +185,14 @@ export interface ReplToken {
182
185
  * @generated from protobuf field: google.protobuf.Timestamp before = 23
183
186
  */
184
187
  before?: Timestamp;
188
+ /**
189
+ * Resource tier selects the Goval 3 ReplPool/resource shape. Current values
190
+ * are "free-medium", "paid-medium", and "paid-large". This is only used by
191
+ * Goval 3.
192
+ *
193
+ * @generated from protobuf field: string resource_tier = 25
194
+ */
195
+ resourceTier: string;
185
196
  }
186
197
  /**
187
198
  * Metadata for the classroom. This is deprecated and should be removed
@@ -66,7 +66,8 @@ class ReplToken$Type extends MessageType {
66
66
  { no: 20, name: "paid", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
67
67
  { no: 21, name: "replexec", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
68
68
  { no: 22, name: "external_secrets", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ReplToken_ExternalSecret },
69
- { no: 23, name: "before", kind: "message", T: () => Timestamp }
69
+ { no: 23, name: "before", kind: "message", T: () => Timestamp },
70
+ { no: 25, name: "resource_tier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
70
71
  ]);
71
72
  }
72
73
  create(value) {
@@ -81,6 +82,7 @@ class ReplToken$Type extends MessageType {
81
82
  message.paid = false;
82
83
  message.replexec = false;
83
84
  message.externalSecrets = [];
85
+ message.resourceTier = "";
84
86
  if (value !== undefined)
85
87
  reflectionMergePartial(this, message, value);
86
88
  return message;
@@ -159,6 +161,9 @@ class ReplToken$Type extends MessageType {
159
161
  case /* google.protobuf.Timestamp before */ 23:
160
162
  message.before = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.before);
161
163
  break;
164
+ case /* string resource_tier */ 25:
165
+ message.resourceTier = reader.string();
166
+ break;
162
167
  default:
163
168
  let u = options.readUnknownField;
164
169
  if (u === "throw")
@@ -231,6 +236,9 @@ class ReplToken$Type extends MessageType {
231
236
  /* google.protobuf.Timestamp before = 23; */
232
237
  if (message.before)
233
238
  Timestamp.internalBinaryWrite(message.before, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
239
+ /* string resource_tier = 25; */
240
+ if (message.resourceTier !== "")
241
+ writer.tag(25, WireType.LengthDelimited).string(message.resourceTier);
234
242
  let u = options.writeUnknownFields;
235
243
  if (u !== false)
236
244
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4538,7 +4538,11 @@ export declare enum DeploymentConfig_Target {
4538
4538
  /**
4539
4539
  * @generated from protobuf enum value: DATABRICKS_APP = 7;
4540
4540
  */
4541
- DATABRICKS_APP = 7
4541
+ DATABRICKS_APP = 7,
4542
+ /**
4543
+ * @generated from protobuf enum value: RAYFIN_APP = 8;
4544
+ */
4545
+ RAYFIN_APP = 8
4542
4546
  }
4543
4547
  /**
4544
4548
  * @generated from protobuf message replit.goval.api.ExtensionConfig
package/dist/api/types.js CHANGED
@@ -358,6 +358,10 @@ export var DeploymentConfig_Target;
358
358
  * @generated from protobuf enum value: DATABRICKS_APP = 7;
359
359
  */
360
360
  DeploymentConfig_Target[DeploymentConfig_Target["DATABRICKS_APP"] = 7] = "DATABRICKS_APP";
361
+ /**
362
+ * @generated from protobuf enum value: RAYFIN_APP = 8;
363
+ */
364
+ DeploymentConfig_Target[DeploymentConfig_Target["RAYFIN_APP"] = 8] = "RAYFIN_APP";
361
365
  })(DeploymentConfig_Target || (DeploymentConfig_Target = {}));
362
366
  /**
363
367
  * @generated from protobuf enum replit.goval.api.NixModuleConfigSetResponse.Status
@@ -18760,7 +18760,8 @@ export namespace replit {
18760
18760
  AUTOSCALE = 4,
18761
18761
  SCHEDULED = 5,
18762
18762
  EXTENSION = 6,
18763
- DATABRICKS_APP = 7
18763
+ DATABRICKS_APP = 7,
18764
+ RAYFIN_APP = 8
18764
18765
  }
18765
18766
 
18766
18767
  /** Properties of a RewriteRule. */
@@ -27788,6 +27789,9 @@ export namespace replit {
27788
27789
 
27789
27790
  /** Repl backerJobMetadata */
27790
27791
  backerJobMetadata?: ({ [k: string]: string }|null);
27792
+
27793
+ /** Repl customSkillsBucket */
27794
+ customSkillsBucket?: (string|null);
27791
27795
  }
27792
27796
 
27793
27797
  /** Represents a Repl. */
@@ -27847,6 +27851,9 @@ export namespace replit {
27847
27851
  /** Repl backerJobMetadata. */
27848
27852
  public backerJobMetadata: { [k: string]: string };
27849
27853
 
27854
+ /** Repl customSkillsBucket. */
27855
+ public customSkillsBucket: string;
27856
+
27850
27857
  /**
27851
27858
  * Creates a new Repl instance using the specified properties.
27852
27859
  * @param [properties] Properties to set
@@ -30797,6 +30804,9 @@ export namespace replit {
30797
30804
 
30798
30805
  /** ReplToken before */
30799
30806
  before?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
30807
+
30808
+ /** ReplToken resourceTier */
30809
+ resourceTier?: (string|null);
30800
30810
  }
30801
30811
 
30802
30812
  /** Represents a ReplToken. */
@@ -30868,6 +30878,9 @@ export namespace replit {
30868
30878
  /** ReplToken before. */
30869
30879
  public before?: (google.protobuf.Timestamp|null);
30870
30880
 
30881
+ /** ReplToken resourceTier. */
30882
+ public resourceTier: string;
30883
+
30871
30884
  /** ReplToken metadata. */
30872
30885
  public metadata?: ("repl"|"id"|"classroom");
30873
30886
 
@@ -33246,6 +33259,9 @@ export namespace replit {
33246
33259
 
33247
33260
  /** Cluster noxHost */
33248
33261
  noxHost?: (string|null);
33262
+
33263
+ /** Cluster chateauUrl */
33264
+ chateauUrl?: (string|null);
33249
33265
  }
33250
33266
 
33251
33267
  /** Represents a Cluster. */
@@ -33269,6 +33285,9 @@ export namespace replit {
33269
33285
  /** Cluster noxHost. */
33270
33286
  public noxHost: string;
33271
33287
 
33288
+ /** Cluster chateauUrl. */
33289
+ public chateauUrl: string;
33290
+
33272
33291
  /**
33273
33292
  * Creates a new Cluster instance using the specified properties.
33274
33293
  * @param [properties] Properties to set
package/iotester/index.js CHANGED
@@ -48202,6 +48202,7 @@
48202
48202
  case 5:
48203
48203
  case 6:
48204
48204
  case 7:
48205
+ case 8:
48205
48206
  break;
48206
48207
  }
48207
48208
  if (message.publicDir != null && message.hasOwnProperty("publicDir"))
@@ -48296,6 +48297,10 @@
48296
48297
  case 7:
48297
48298
  message.target = 7;
48298
48299
  break;
48300
+ case "RAYFIN_APP":
48301
+ case 8:
48302
+ message.target = 8;
48303
+ break;
48299
48304
  }
48300
48305
  if (object.publicDir != null)
48301
48306
  message.publicDir = String(object.publicDir);
@@ -48410,6 +48415,7 @@
48410
48415
  * @property {number} SCHEDULED=5 SCHEDULED value
48411
48416
  * @property {number} EXTENSION=6 EXTENSION value
48412
48417
  * @property {number} DATABRICKS_APP=7 DATABRICKS_APP value
48418
+ * @property {number} RAYFIN_APP=8 RAYFIN_APP value
48413
48419
  */
48414
48420
  DeploymentConfig.Target = (function() {
48415
48421
  var valuesById = {}, values = Object.create(valuesById);
@@ -48421,6 +48427,7 @@
48421
48427
  values[valuesById[5] = "SCHEDULED"] = 5;
48422
48428
  values[valuesById[6] = "EXTENSION"] = 6;
48423
48429
  values[valuesById[7] = "DATABRICKS_APP"] = 7;
48430
+ values[valuesById[8] = "RAYFIN_APP"] = 8;
48424
48431
  return values;
48425
48432
  })();
48426
48433
 
@@ -70517,6 +70524,7 @@
70517
70524
  * @property {boolean|null} [useReplShield] Repl useReplShield
70518
70525
  * @property {string|null} [connectorsHost] Repl connectorsHost
70519
70526
  * @property {Object.<string,string>|null} [backerJobMetadata] Repl backerJobMetadata
70527
+ * @property {string|null} [customSkillsBucket] Repl customSkillsBucket
70520
70528
  */
70521
70529
 
70522
70530
  /**
@@ -70663,6 +70671,14 @@
70663
70671
  */
70664
70672
  Repl.prototype.backerJobMetadata = $util.emptyObject;
70665
70673
 
70674
+ /**
70675
+ * Repl customSkillsBucket.
70676
+ * @member {string} customSkillsBucket
70677
+ * @memberof replit.goval.api.repl.Repl
70678
+ * @instance
70679
+ */
70680
+ Repl.prototype.customSkillsBucket = "";
70681
+
70666
70682
  /**
70667
70683
  * Creates a new Repl instance using the specified properties.
70668
70684
  * @function create
@@ -70721,6 +70737,8 @@
70721
70737
  if (message.backerJobMetadata != null && Object.hasOwnProperty.call(message, "backerJobMetadata"))
70722
70738
  for (var keys = Object.keys(message.backerJobMetadata), i = 0; i < keys.length; ++i)
70723
70739
  writer.uint32(/* id 17, wireType 2 =*/138).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.backerJobMetadata[keys[i]]).ldelim();
70740
+ if (message.customSkillsBucket != null && Object.hasOwnProperty.call(message, "customSkillsBucket"))
70741
+ writer.uint32(/* id 18, wireType 2 =*/146).string(message.customSkillsBucket);
70724
70742
  return writer;
70725
70743
  };
70726
70744
 
@@ -70842,6 +70860,10 @@
70842
70860
  message.backerJobMetadata[key] = value;
70843
70861
  break;
70844
70862
  }
70863
+ case 18: {
70864
+ message.customSkillsBucket = reader.string();
70865
+ break;
70866
+ }
70845
70867
  default:
70846
70868
  reader.skipType(tag & 7);
70847
70869
  break;
@@ -70940,6 +70962,9 @@
70940
70962
  if (!$util.isString(message.backerJobMetadata[key[i]]))
70941
70963
  return "backerJobMetadata: string{k:string} expected";
70942
70964
  }
70965
+ if (message.customSkillsBucket != null && message.hasOwnProperty("customSkillsBucket"))
70966
+ if (!$util.isString(message.customSkillsBucket))
70967
+ return "customSkillsBucket: string expected";
70943
70968
  return null;
70944
70969
  };
70945
70970
 
@@ -71006,6 +71031,8 @@
71006
71031
  for (var keys = Object.keys(object.backerJobMetadata), i = 0; i < keys.length; ++i)
71007
71032
  message.backerJobMetadata[keys[i]] = String(object.backerJobMetadata[keys[i]]);
71008
71033
  }
71034
+ if (object.customSkillsBucket != null)
71035
+ message.customSkillsBucket = String(object.customSkillsBucket);
71009
71036
  return message;
71010
71037
  };
71011
71038
 
@@ -71041,6 +71068,7 @@
71041
71068
  object.org = null;
71042
71069
  object.useReplShield = false;
71043
71070
  object.connectorsHost = "";
71071
+ object.customSkillsBucket = "";
71044
71072
  }
71045
71073
  if (message.id != null && message.hasOwnProperty("id"))
71046
71074
  object.id = message.id;
@@ -71081,6 +71109,8 @@
71081
71109
  for (var j = 0; j < keys2.length; ++j)
71082
71110
  object.backerJobMetadata[keys2[j]] = message.backerJobMetadata[keys2[j]];
71083
71111
  }
71112
+ if (message.customSkillsBucket != null && message.hasOwnProperty("customSkillsBucket"))
71113
+ object.customSkillsBucket = message.customSkillsBucket;
71084
71114
  return object;
71085
71115
  };
71086
71116
 
@@ -78445,6 +78475,7 @@
78445
78475
  * @property {boolean|null} [replexec] ReplToken replexec
78446
78476
  * @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
78447
78477
  * @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
78478
+ * @property {string|null} [resourceTier] ReplToken resourceTier
78448
78479
  */
78449
78480
 
78450
78481
  /**
@@ -78624,6 +78655,14 @@
78624
78655
  */
78625
78656
  ReplToken.prototype.before = null;
78626
78657
 
78658
+ /**
78659
+ * ReplToken resourceTier.
78660
+ * @member {string} resourceTier
78661
+ * @memberof replit.goval.api.token.ReplToken
78662
+ * @instance
78663
+ */
78664
+ ReplToken.prototype.resourceTier = "";
78665
+
78627
78666
  // OneOf field names bound to virtual getters and setters
78628
78667
  var $oneOfFields;
78629
78668
 
@@ -78705,6 +78744,8 @@
78705
78744
  $root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
78706
78745
  if (message.before != null && Object.hasOwnProperty.call(message, "before"))
78707
78746
  $root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
78747
+ if (message.resourceTier != null && Object.hasOwnProperty.call(message, "resourceTier"))
78748
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.resourceTier);
78708
78749
  return writer;
78709
78750
  };
78710
78751
 
@@ -78827,6 +78868,10 @@
78827
78868
  message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
78828
78869
  break;
78829
78870
  }
78871
+ case 25: {
78872
+ message.resourceTier = reader.string();
78873
+ break;
78874
+ }
78830
78875
  default:
78831
78876
  reader.skipType(tag & 7);
78832
78877
  break;
@@ -78988,6 +79033,9 @@
78988
79033
  if (error)
78989
79034
  return "before." + error;
78990
79035
  }
79036
+ if (message.resourceTier != null && message.hasOwnProperty("resourceTier"))
79037
+ if (!$util.isString(message.resourceTier))
79038
+ return "resourceTier: string expected";
78991
79039
  return null;
78992
79040
  };
78993
79041
 
@@ -79141,6 +79189,8 @@
79141
79189
  throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
79142
79190
  message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
79143
79191
  }
79192
+ if (object.resourceTier != null)
79193
+ message.resourceTier = String(object.resourceTier);
79144
79194
  return message;
79145
79195
  };
79146
79196
 
@@ -79177,6 +79227,7 @@
79177
79227
  object.paid = false;
79178
79228
  object.replexec = false;
79179
79229
  object.before = null;
79230
+ object.resourceTier = "";
79180
79231
  }
79181
79232
  if (message.iat != null && message.hasOwnProperty("iat"))
79182
79233
  object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
@@ -79236,6 +79287,8 @@
79236
79287
  }
79237
79288
  if (message.before != null && message.hasOwnProperty("before"))
79238
79289
  object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
79290
+ if (message.resourceTier != null && message.hasOwnProperty("resourceTier"))
79291
+ object.resourceTier = message.resourceTier;
79239
79292
  return object;
79240
79293
  };
79241
79294
 
@@ -84763,6 +84816,7 @@
84763
84816
  * @property {string|null} [conmanUrl] Cluster conmanUrl
84764
84817
  * @property {string|null} [gurl] Cluster gurl
84765
84818
  * @property {string|null} [noxHost] Cluster noxHost
84819
+ * @property {string|null} [chateauUrl] Cluster chateauUrl
84766
84820
  */
84767
84821
 
84768
84822
  /**
@@ -84811,6 +84865,14 @@
84811
84865
  */
84812
84866
  Cluster.prototype.noxHost = "";
84813
84867
 
84868
+ /**
84869
+ * Cluster chateauUrl.
84870
+ * @member {string} chateauUrl
84871
+ * @memberof replit.goval.api.lore.Cluster
84872
+ * @instance
84873
+ */
84874
+ Cluster.prototype.chateauUrl = "";
84875
+
84814
84876
  /**
84815
84877
  * Creates a new Cluster instance using the specified properties.
84816
84878
  * @function create
@@ -84843,6 +84905,8 @@
84843
84905
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
84844
84906
  if (message.noxHost != null && Object.hasOwnProperty.call(message, "noxHost"))
84845
84907
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.noxHost);
84908
+ if (message.chateauUrl != null && Object.hasOwnProperty.call(message, "chateauUrl"))
84909
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.chateauUrl);
84846
84910
  return writer;
84847
84911
  };
84848
84912
 
@@ -84895,6 +84959,10 @@
84895
84959
  message.noxHost = reader.string();
84896
84960
  break;
84897
84961
  }
84962
+ case 6: {
84963
+ message.chateauUrl = reader.string();
84964
+ break;
84965
+ }
84898
84966
  default:
84899
84967
  reader.skipType(tag & 7);
84900
84968
  break;
@@ -84942,6 +85010,9 @@
84942
85010
  if (message.noxHost != null && message.hasOwnProperty("noxHost"))
84943
85011
  if (!$util.isString(message.noxHost))
84944
85012
  return "noxHost: string expected";
85013
+ if (message.chateauUrl != null && message.hasOwnProperty("chateauUrl"))
85014
+ if (!$util.isString(message.chateauUrl))
85015
+ return "chateauUrl: string expected";
84945
85016
  return null;
84946
85017
  };
84947
85018
 
@@ -84965,6 +85036,8 @@
84965
85036
  message.gurl = String(object.gurl);
84966
85037
  if (object.noxHost != null)
84967
85038
  message.noxHost = String(object.noxHost);
85039
+ if (object.chateauUrl != null)
85040
+ message.chateauUrl = String(object.chateauUrl);
84968
85041
  return message;
84969
85042
  };
84970
85043
 
@@ -84986,6 +85059,7 @@
84986
85059
  object.conmanUrl = "";
84987
85060
  object.gurl = "";
84988
85061
  object.noxHost = "";
85062
+ object.chateauUrl = "";
84989
85063
  }
84990
85064
  if (message.name != null && message.hasOwnProperty("name"))
84991
85065
  object.name = message.name;
@@ -84995,6 +85069,8 @@
84995
85069
  object.gurl = message.gurl;
84996
85070
  if (message.noxHost != null && message.hasOwnProperty("noxHost"))
84997
85071
  object.noxHost = message.noxHost;
85072
+ if (message.chateauUrl != null && message.hasOwnProperty("chateauUrl"))
85073
+ object.chateauUrl = message.chateauUrl;
84998
85074
  return object;
84999
85075
  };
85000
85076
 
package/main/index.d.ts CHANGED
@@ -18760,7 +18760,8 @@ export namespace replit {
18760
18760
  AUTOSCALE = 4,
18761
18761
  SCHEDULED = 5,
18762
18762
  EXTENSION = 6,
18763
- DATABRICKS_APP = 7
18763
+ DATABRICKS_APP = 7,
18764
+ RAYFIN_APP = 8
18764
18765
  }
18765
18766
 
18766
18767
  /** Properties of a RewriteRule. */
@@ -27788,6 +27789,9 @@ export namespace replit {
27788
27789
 
27789
27790
  /** Repl backerJobMetadata */
27790
27791
  backerJobMetadata?: ({ [k: string]: string }|null);
27792
+
27793
+ /** Repl customSkillsBucket */
27794
+ customSkillsBucket?: (string|null);
27791
27795
  }
27792
27796
 
27793
27797
  /** Represents a Repl. */
@@ -27847,6 +27851,9 @@ export namespace replit {
27847
27851
  /** Repl backerJobMetadata. */
27848
27852
  public backerJobMetadata: { [k: string]: string };
27849
27853
 
27854
+ /** Repl customSkillsBucket. */
27855
+ public customSkillsBucket: string;
27856
+
27850
27857
  /**
27851
27858
  * Creates a new Repl instance using the specified properties.
27852
27859
  * @param [properties] Properties to set
@@ -30797,6 +30804,9 @@ export namespace replit {
30797
30804
 
30798
30805
  /** ReplToken before */
30799
30806
  before?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
30807
+
30808
+ /** ReplToken resourceTier */
30809
+ resourceTier?: (string|null);
30800
30810
  }
30801
30811
 
30802
30812
  /** Represents a ReplToken. */
@@ -30868,6 +30878,9 @@ export namespace replit {
30868
30878
  /** ReplToken before. */
30869
30879
  public before?: (google.protobuf.Timestamp|null);
30870
30880
 
30881
+ /** ReplToken resourceTier. */
30882
+ public resourceTier: string;
30883
+
30871
30884
  /** ReplToken metadata. */
30872
30885
  public metadata?: ("repl"|"id"|"classroom");
30873
30886
 
@@ -33246,6 +33259,9 @@ export namespace replit {
33246
33259
 
33247
33260
  /** Cluster noxHost */
33248
33261
  noxHost?: (string|null);
33262
+
33263
+ /** Cluster chateauUrl */
33264
+ chateauUrl?: (string|null);
33249
33265
  }
33250
33266
 
33251
33267
  /** Represents a Cluster. */
@@ -33269,6 +33285,9 @@ export namespace replit {
33269
33285
  /** Cluster noxHost. */
33270
33286
  public noxHost: string;
33271
33287
 
33288
+ /** Cluster chateauUrl. */
33289
+ public chateauUrl: string;
33290
+
33272
33291
  /**
33273
33292
  * Creates a new Cluster instance using the specified properties.
33274
33293
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -48202,6 +48202,7 @@
48202
48202
  case 5:
48203
48203
  case 6:
48204
48204
  case 7:
48205
+ case 8:
48205
48206
  break;
48206
48207
  }
48207
48208
  if (message.publicDir != null && message.hasOwnProperty("publicDir"))
@@ -48296,6 +48297,10 @@
48296
48297
  case 7:
48297
48298
  message.target = 7;
48298
48299
  break;
48300
+ case "RAYFIN_APP":
48301
+ case 8:
48302
+ message.target = 8;
48303
+ break;
48299
48304
  }
48300
48305
  if (object.publicDir != null)
48301
48306
  message.publicDir = String(object.publicDir);
@@ -48410,6 +48415,7 @@
48410
48415
  * @property {number} SCHEDULED=5 SCHEDULED value
48411
48416
  * @property {number} EXTENSION=6 EXTENSION value
48412
48417
  * @property {number} DATABRICKS_APP=7 DATABRICKS_APP value
48418
+ * @property {number} RAYFIN_APP=8 RAYFIN_APP value
48413
48419
  */
48414
48420
  DeploymentConfig.Target = (function() {
48415
48421
  var valuesById = {}, values = Object.create(valuesById);
@@ -48421,6 +48427,7 @@
48421
48427
  values[valuesById[5] = "SCHEDULED"] = 5;
48422
48428
  values[valuesById[6] = "EXTENSION"] = 6;
48423
48429
  values[valuesById[7] = "DATABRICKS_APP"] = 7;
48430
+ values[valuesById[8] = "RAYFIN_APP"] = 8;
48424
48431
  return values;
48425
48432
  })();
48426
48433
 
@@ -70517,6 +70524,7 @@
70517
70524
  * @property {boolean|null} [useReplShield] Repl useReplShield
70518
70525
  * @property {string|null} [connectorsHost] Repl connectorsHost
70519
70526
  * @property {Object.<string,string>|null} [backerJobMetadata] Repl backerJobMetadata
70527
+ * @property {string|null} [customSkillsBucket] Repl customSkillsBucket
70520
70528
  */
70521
70529
 
70522
70530
  /**
@@ -70663,6 +70671,14 @@
70663
70671
  */
70664
70672
  Repl.prototype.backerJobMetadata = $util.emptyObject;
70665
70673
 
70674
+ /**
70675
+ * Repl customSkillsBucket.
70676
+ * @member {string} customSkillsBucket
70677
+ * @memberof replit.goval.api.repl.Repl
70678
+ * @instance
70679
+ */
70680
+ Repl.prototype.customSkillsBucket = "";
70681
+
70666
70682
  /**
70667
70683
  * Creates a new Repl instance using the specified properties.
70668
70684
  * @function create
@@ -70721,6 +70737,8 @@
70721
70737
  if (message.backerJobMetadata != null && Object.hasOwnProperty.call(message, "backerJobMetadata"))
70722
70738
  for (var keys = Object.keys(message.backerJobMetadata), i = 0; i < keys.length; ++i)
70723
70739
  writer.uint32(/* id 17, wireType 2 =*/138).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.backerJobMetadata[keys[i]]).ldelim();
70740
+ if (message.customSkillsBucket != null && Object.hasOwnProperty.call(message, "customSkillsBucket"))
70741
+ writer.uint32(/* id 18, wireType 2 =*/146).string(message.customSkillsBucket);
70724
70742
  return writer;
70725
70743
  };
70726
70744
 
@@ -70842,6 +70860,10 @@
70842
70860
  message.backerJobMetadata[key] = value;
70843
70861
  break;
70844
70862
  }
70863
+ case 18: {
70864
+ message.customSkillsBucket = reader.string();
70865
+ break;
70866
+ }
70845
70867
  default:
70846
70868
  reader.skipType(tag & 7);
70847
70869
  break;
@@ -70940,6 +70962,9 @@
70940
70962
  if (!$util.isString(message.backerJobMetadata[key[i]]))
70941
70963
  return "backerJobMetadata: string{k:string} expected";
70942
70964
  }
70965
+ if (message.customSkillsBucket != null && message.hasOwnProperty("customSkillsBucket"))
70966
+ if (!$util.isString(message.customSkillsBucket))
70967
+ return "customSkillsBucket: string expected";
70943
70968
  return null;
70944
70969
  };
70945
70970
 
@@ -71006,6 +71031,8 @@
71006
71031
  for (var keys = Object.keys(object.backerJobMetadata), i = 0; i < keys.length; ++i)
71007
71032
  message.backerJobMetadata[keys[i]] = String(object.backerJobMetadata[keys[i]]);
71008
71033
  }
71034
+ if (object.customSkillsBucket != null)
71035
+ message.customSkillsBucket = String(object.customSkillsBucket);
71009
71036
  return message;
71010
71037
  };
71011
71038
 
@@ -71041,6 +71068,7 @@
71041
71068
  object.org = null;
71042
71069
  object.useReplShield = false;
71043
71070
  object.connectorsHost = "";
71071
+ object.customSkillsBucket = "";
71044
71072
  }
71045
71073
  if (message.id != null && message.hasOwnProperty("id"))
71046
71074
  object.id = message.id;
@@ -71081,6 +71109,8 @@
71081
71109
  for (var j = 0; j < keys2.length; ++j)
71082
71110
  object.backerJobMetadata[keys2[j]] = message.backerJobMetadata[keys2[j]];
71083
71111
  }
71112
+ if (message.customSkillsBucket != null && message.hasOwnProperty("customSkillsBucket"))
71113
+ object.customSkillsBucket = message.customSkillsBucket;
71084
71114
  return object;
71085
71115
  };
71086
71116
 
@@ -78445,6 +78475,7 @@
78445
78475
  * @property {boolean|null} [replexec] ReplToken replexec
78446
78476
  * @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
78447
78477
  * @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
78478
+ * @property {string|null} [resourceTier] ReplToken resourceTier
78448
78479
  */
78449
78480
 
78450
78481
  /**
@@ -78624,6 +78655,14 @@
78624
78655
  */
78625
78656
  ReplToken.prototype.before = null;
78626
78657
 
78658
+ /**
78659
+ * ReplToken resourceTier.
78660
+ * @member {string} resourceTier
78661
+ * @memberof replit.goval.api.token.ReplToken
78662
+ * @instance
78663
+ */
78664
+ ReplToken.prototype.resourceTier = "";
78665
+
78627
78666
  // OneOf field names bound to virtual getters and setters
78628
78667
  var $oneOfFields;
78629
78668
 
@@ -78705,6 +78744,8 @@
78705
78744
  $root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
78706
78745
  if (message.before != null && Object.hasOwnProperty.call(message, "before"))
78707
78746
  $root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
78747
+ if (message.resourceTier != null && Object.hasOwnProperty.call(message, "resourceTier"))
78748
+ writer.uint32(/* id 25, wireType 2 =*/202).string(message.resourceTier);
78708
78749
  return writer;
78709
78750
  };
78710
78751
 
@@ -78827,6 +78868,10 @@
78827
78868
  message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
78828
78869
  break;
78829
78870
  }
78871
+ case 25: {
78872
+ message.resourceTier = reader.string();
78873
+ break;
78874
+ }
78830
78875
  default:
78831
78876
  reader.skipType(tag & 7);
78832
78877
  break;
@@ -78988,6 +79033,9 @@
78988
79033
  if (error)
78989
79034
  return "before." + error;
78990
79035
  }
79036
+ if (message.resourceTier != null && message.hasOwnProperty("resourceTier"))
79037
+ if (!$util.isString(message.resourceTier))
79038
+ return "resourceTier: string expected";
78991
79039
  return null;
78992
79040
  };
78993
79041
 
@@ -79141,6 +79189,8 @@
79141
79189
  throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
79142
79190
  message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
79143
79191
  }
79192
+ if (object.resourceTier != null)
79193
+ message.resourceTier = String(object.resourceTier);
79144
79194
  return message;
79145
79195
  };
79146
79196
 
@@ -79177,6 +79227,7 @@
79177
79227
  object.paid = false;
79178
79228
  object.replexec = false;
79179
79229
  object.before = null;
79230
+ object.resourceTier = "";
79180
79231
  }
79181
79232
  if (message.iat != null && message.hasOwnProperty("iat"))
79182
79233
  object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
@@ -79236,6 +79287,8 @@
79236
79287
  }
79237
79288
  if (message.before != null && message.hasOwnProperty("before"))
79238
79289
  object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
79290
+ if (message.resourceTier != null && message.hasOwnProperty("resourceTier"))
79291
+ object.resourceTier = message.resourceTier;
79239
79292
  return object;
79240
79293
  };
79241
79294
 
@@ -84763,6 +84816,7 @@
84763
84816
  * @property {string|null} [conmanUrl] Cluster conmanUrl
84764
84817
  * @property {string|null} [gurl] Cluster gurl
84765
84818
  * @property {string|null} [noxHost] Cluster noxHost
84819
+ * @property {string|null} [chateauUrl] Cluster chateauUrl
84766
84820
  */
84767
84821
 
84768
84822
  /**
@@ -84811,6 +84865,14 @@
84811
84865
  */
84812
84866
  Cluster.prototype.noxHost = "";
84813
84867
 
84868
+ /**
84869
+ * Cluster chateauUrl.
84870
+ * @member {string} chateauUrl
84871
+ * @memberof replit.goval.api.lore.Cluster
84872
+ * @instance
84873
+ */
84874
+ Cluster.prototype.chateauUrl = "";
84875
+
84814
84876
  /**
84815
84877
  * Creates a new Cluster instance using the specified properties.
84816
84878
  * @function create
@@ -84843,6 +84905,8 @@
84843
84905
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
84844
84906
  if (message.noxHost != null && Object.hasOwnProperty.call(message, "noxHost"))
84845
84907
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.noxHost);
84908
+ if (message.chateauUrl != null && Object.hasOwnProperty.call(message, "chateauUrl"))
84909
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.chateauUrl);
84846
84910
  return writer;
84847
84911
  };
84848
84912
 
@@ -84895,6 +84959,10 @@
84895
84959
  message.noxHost = reader.string();
84896
84960
  break;
84897
84961
  }
84962
+ case 6: {
84963
+ message.chateauUrl = reader.string();
84964
+ break;
84965
+ }
84898
84966
  default:
84899
84967
  reader.skipType(tag & 7);
84900
84968
  break;
@@ -84942,6 +85010,9 @@
84942
85010
  if (message.noxHost != null && message.hasOwnProperty("noxHost"))
84943
85011
  if (!$util.isString(message.noxHost))
84944
85012
  return "noxHost: string expected";
85013
+ if (message.chateauUrl != null && message.hasOwnProperty("chateauUrl"))
85014
+ if (!$util.isString(message.chateauUrl))
85015
+ return "chateauUrl: string expected";
84945
85016
  return null;
84946
85017
  };
84947
85018
 
@@ -84965,6 +85036,8 @@
84965
85036
  message.gurl = String(object.gurl);
84966
85037
  if (object.noxHost != null)
84967
85038
  message.noxHost = String(object.noxHost);
85039
+ if (object.chateauUrl != null)
85040
+ message.chateauUrl = String(object.chateauUrl);
84968
85041
  return message;
84969
85042
  };
84970
85043
 
@@ -84986,6 +85059,7 @@
84986
85059
  object.conmanUrl = "";
84987
85060
  object.gurl = "";
84988
85061
  object.noxHost = "";
85062
+ object.chateauUrl = "";
84989
85063
  }
84990
85064
  if (message.name != null && message.hasOwnProperty("name"))
84991
85065
  object.name = message.name;
@@ -84995,6 +85069,8 @@
84995
85069
  object.gurl = message.gurl;
84996
85070
  if (message.noxHost != null && message.hasOwnProperty("noxHost"))
84997
85071
  object.noxHost = message.noxHost;
85072
+ if (message.chateauUrl != null && message.hasOwnProperty("chateauUrl"))
85073
+ object.chateauUrl = message.chateauUrl;
84998
85074
  return object;
84999
85075
  };
85000
85076
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.4.25",
3
+ "version": "0.4.26",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "types": "main/index.d.ts",