@replit/protocol 0.4.27 → 0.4.28
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/dist/api/chateau/resources.client.d.ts +51 -0
- package/dist/api/chateau/resources.client.js +34 -0
- package/dist/api/chateau/resources.d.ts +333 -0
- package/dist/api/chateau/resources.js +727 -0
- package/dist/api/lore/service.client.d.ts +56 -0
- package/dist/api/lore/service.client.js +51 -15
- package/dist/api/lore/service.d.ts +328 -0
- package/dist/api/lore/service.js +563 -8
- package/dist/api/repl/repl.d.ts +9 -0
- package/dist/api/repl/repl.js +9 -1
- package/dist/api/token/token.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/iotester/index.d.ts +4075 -1701
- package/iotester/index.js +24565 -11179
- package/main/index.d.ts +4075 -1701
- package/main/index.js +24565 -11179
- package/package.json +1 -1
package/dist/api/repl/repl.d.ts
CHANGED
|
@@ -184,6 +184,15 @@ export interface Org {
|
|
|
184
184
|
* @generated from protobuf field: bool is_enterprise = 4
|
|
185
185
|
*/
|
|
186
186
|
isEnterprise: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Customer ID is the entity billed for this org, as determined by Replit web
|
|
189
|
+
* (the shared billing customer, not the org id — sibling orgs can share one).
|
|
190
|
+
* Opaque to goval; used as the customer segment of the repl's SPIFFE
|
|
191
|
+
* identity. Empty when web does not provide one.
|
|
192
|
+
*
|
|
193
|
+
* @generated from protobuf field: string customer_id = 5
|
|
194
|
+
*/
|
|
195
|
+
customerId: string;
|
|
187
196
|
}
|
|
188
197
|
/**
|
|
189
198
|
* Organization type. There are legacy types, but we are not
|
package/dist/api/repl/repl.js
CHANGED
|
@@ -378,7 +378,8 @@ class Org$Type extends MessageType {
|
|
|
378
378
|
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
379
379
|
{ no: 2, name: "type", kind: "enum", T: () => ["replit.goval.api.repl.Org.OrgType", Org_OrgType] },
|
|
380
380
|
{ no: 3, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
381
|
-
{ no: 4, name: "is_enterprise", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
381
|
+
{ no: 4, name: "is_enterprise", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
382
|
+
{ no: 5, name: "customer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
382
383
|
]);
|
|
383
384
|
}
|
|
384
385
|
create(value) {
|
|
@@ -387,6 +388,7 @@ class Org$Type extends MessageType {
|
|
|
387
388
|
message.type = 0;
|
|
388
389
|
message.slug = "";
|
|
389
390
|
message.isEnterprise = false;
|
|
391
|
+
message.customerId = "";
|
|
390
392
|
if (value !== undefined)
|
|
391
393
|
reflectionMergePartial(this, message, value);
|
|
392
394
|
return message;
|
|
@@ -408,6 +410,9 @@ class Org$Type extends MessageType {
|
|
|
408
410
|
case /* bool is_enterprise */ 4:
|
|
409
411
|
message.isEnterprise = reader.bool();
|
|
410
412
|
break;
|
|
413
|
+
case /* string customer_id */ 5:
|
|
414
|
+
message.customerId = reader.string();
|
|
415
|
+
break;
|
|
411
416
|
default:
|
|
412
417
|
let u = options.readUnknownField;
|
|
413
418
|
if (u === "throw")
|
|
@@ -432,6 +437,9 @@ class Org$Type extends MessageType {
|
|
|
432
437
|
/* bool is_enterprise = 4; */
|
|
433
438
|
if (message.isEnterprise !== false)
|
|
434
439
|
writer.tag(4, WireType.Varint).bool(message.isEnterprise);
|
|
440
|
+
/* string customer_id = 5; */
|
|
441
|
+
if (message.customerId !== "")
|
|
442
|
+
writer.tag(5, WireType.LengthDelimited).string(message.customerId);
|
|
435
443
|
let u = options.writeUnknownFields;
|
|
436
444
|
if (u !== false)
|
|
437
445
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -187,9 +187,9 @@ export interface ReplToken {
|
|
|
187
187
|
*/
|
|
188
188
|
before?: Timestamp;
|
|
189
189
|
/**
|
|
190
|
-
* Resource tier selects the Goval 3
|
|
191
|
-
*
|
|
192
|
-
*
|
|
190
|
+
* Resource tier selects the Goval 3 resource size. Current values are
|
|
191
|
+
* "medium" and "large". Goval 3 combines this with `paid` to select a
|
|
192
|
+
* ReplPool tier such as "free-medium", "paid-medium", or "paid-large".
|
|
193
193
|
*
|
|
194
194
|
* @generated from protobuf field: string resource_tier = 25
|
|
195
195
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './api/types.js';
|
|
|
2
2
|
export * from './api/client.js';
|
|
3
3
|
export * from './api/signing.js';
|
|
4
4
|
export * from './api/token/token.js';
|
|
5
|
+
export * as ChateauResources from './api/chateau/resources.js';
|
|
5
6
|
export * from './api/lore/lore.js';
|
|
6
7
|
export * from './api/features/features.js';
|
|
7
8
|
export * from './api/powerup.js';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from './api/types.js';
|
|
|
3
3
|
export * from './api/client.js';
|
|
4
4
|
export * from './api/signing.js';
|
|
5
5
|
export * from './api/token/token.js';
|
|
6
|
+
export * as ChateauResources from './api/chateau/resources.js';
|
|
6
7
|
export * from './api/lore/lore.js';
|
|
7
8
|
export * from './api/features/features.js';
|
|
8
9
|
export * from './api/powerup.js';
|