@replit/protocol 0.4.17 → 0.4.18-luke-is-ent.0
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 +12 -0
- package/main/index.js +46 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -28857,6 +28857,9 @@ export namespace replit {
|
|
|
28857
28857
|
|
|
28858
28858
|
/** GovalReplIdentity org */
|
|
28859
28859
|
org?: (replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null);
|
|
28860
|
+
|
|
28861
|
+
/** GovalReplIdentity isEnterprise */
|
|
28862
|
+
isEnterprise?: (boolean|null);
|
|
28860
28863
|
}
|
|
28861
28864
|
|
|
28862
28865
|
/** Represents a GovalReplIdentity. */
|
|
@@ -28910,6 +28913,9 @@ export namespace replit {
|
|
|
28910
28913
|
/** GovalReplIdentity org. */
|
|
28911
28914
|
public org?: (replit.goval.api.repl.Org|null);
|
|
28912
28915
|
|
|
28916
|
+
/** GovalReplIdentity isEnterprise. */
|
|
28917
|
+
public isEnterprise: boolean;
|
|
28918
|
+
|
|
28913
28919
|
/** GovalReplIdentity runtime. */
|
|
28914
28920
|
public runtime?: ("interactive"|"hosting"|"deployment");
|
|
28915
28921
|
|
|
@@ -36708,6 +36714,9 @@ export namespace replit {
|
|
|
36708
36714
|
|
|
36709
36715
|
/** Org slug */
|
|
36710
36716
|
slug?: (string|null);
|
|
36717
|
+
|
|
36718
|
+
/** Org isEnterprise */
|
|
36719
|
+
isEnterprise?: (boolean|null);
|
|
36711
36720
|
}
|
|
36712
36721
|
|
|
36713
36722
|
/** Represents an Org. */
|
|
@@ -36728,6 +36737,9 @@ export namespace replit {
|
|
|
36728
36737
|
/** Org slug. */
|
|
36729
36738
|
public slug: string;
|
|
36730
36739
|
|
|
36740
|
+
/** Org isEnterprise. */
|
|
36741
|
+
public isEnterprise: boolean;
|
|
36742
|
+
|
|
36731
36743
|
/**
|
|
36732
36744
|
* Creates a new Org instance using the specified properties.
|
|
36733
36745
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -72898,6 +72898,7 @@
|
|
|
72898
72898
|
* @property {replit.goval.api.ReplRuntimeHosting|replit.goval.api.IReplRuntimeHosting|null} [hosting] GovalReplIdentity hosting
|
|
72899
72899
|
* @property {replit.goval.api.ReplRuntimeDeployment|replit.goval.api.IReplRuntimeDeployment|null} [deployment] GovalReplIdentity deployment
|
|
72900
72900
|
* @property {replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null} [org] GovalReplIdentity org
|
|
72901
|
+
* @property {boolean|null} [isEnterprise] GovalReplIdentity isEnterprise
|
|
72901
72902
|
*/
|
|
72902
72903
|
|
|
72903
72904
|
/**
|
|
@@ -73027,6 +73028,14 @@
|
|
|
73027
73028
|
*/
|
|
73028
73029
|
GovalReplIdentity.prototype.org = null;
|
|
73029
73030
|
|
|
73031
|
+
/**
|
|
73032
|
+
* GovalReplIdentity isEnterprise.
|
|
73033
|
+
* @member {boolean} isEnterprise
|
|
73034
|
+
* @memberof replit.goval.api.GovalReplIdentity
|
|
73035
|
+
* @instance
|
|
73036
|
+
*/
|
|
73037
|
+
GovalReplIdentity.prototype.isEnterprise = false;
|
|
73038
|
+
|
|
73030
73039
|
// OneOf field names bound to virtual getters and setters
|
|
73031
73040
|
var $oneOfFields;
|
|
73032
73041
|
|
|
@@ -73094,6 +73103,8 @@
|
|
|
73094
73103
|
$root.replit.goval.api.ReplRuntimeHosting.encode(message.hosting, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
73095
73104
|
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
73096
73105
|
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
73106
|
+
if (message.isEnterprise != null && Object.hasOwnProperty.call(message, "isEnterprise"))
|
|
73107
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.isEnterprise);
|
|
73097
73108
|
return writer;
|
|
73098
73109
|
};
|
|
73099
73110
|
|
|
@@ -73186,6 +73197,10 @@
|
|
|
73186
73197
|
message.org = $root.replit.goval.api.repl.Org.decode(reader, reader.uint32());
|
|
73187
73198
|
break;
|
|
73188
73199
|
}
|
|
73200
|
+
case 15: {
|
|
73201
|
+
message.isEnterprise = reader.bool();
|
|
73202
|
+
break;
|
|
73203
|
+
}
|
|
73189
73204
|
default:
|
|
73190
73205
|
reader.skipType(tag & 7);
|
|
73191
73206
|
break;
|
|
@@ -73291,6 +73306,9 @@
|
|
|
73291
73306
|
if (error)
|
|
73292
73307
|
return "org." + error;
|
|
73293
73308
|
}
|
|
73309
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
73310
|
+
if (typeof message.isEnterprise !== "boolean")
|
|
73311
|
+
return "isEnterprise: boolean expected";
|
|
73294
73312
|
return null;
|
|
73295
73313
|
};
|
|
73296
73314
|
|
|
@@ -73361,6 +73379,8 @@
|
|
|
73361
73379
|
throw TypeError(".replit.goval.api.GovalReplIdentity.org: object expected");
|
|
73362
73380
|
message.org = $root.replit.goval.api.repl.Org.fromObject(object.org);
|
|
73363
73381
|
}
|
|
73382
|
+
if (object.isEnterprise != null)
|
|
73383
|
+
message.isEnterprise = Boolean(object.isEnterprise);
|
|
73364
73384
|
return message;
|
|
73365
73385
|
};
|
|
73366
73386
|
|
|
@@ -73394,6 +73414,7 @@
|
|
|
73394
73414
|
object.buildInfo = null;
|
|
73395
73415
|
object.isTeam = false;
|
|
73396
73416
|
object.org = null;
|
|
73417
|
+
object.isEnterprise = false;
|
|
73397
73418
|
}
|
|
73398
73419
|
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
73399
73420
|
object.replid = message.replid;
|
|
@@ -73438,6 +73459,8 @@
|
|
|
73438
73459
|
}
|
|
73439
73460
|
if (message.org != null && message.hasOwnProperty("org"))
|
|
73440
73461
|
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
73462
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
73463
|
+
object.isEnterprise = message.isEnterprise;
|
|
73441
73464
|
return object;
|
|
73442
73465
|
};
|
|
73443
73466
|
|
|
@@ -91329,6 +91352,7 @@
|
|
|
91329
91352
|
* @property {string|null} [id] Org id
|
|
91330
91353
|
* @property {replit.goval.api.repl.Org.OrgType|null} [type] Org type
|
|
91331
91354
|
* @property {string|null} [slug] Org slug
|
|
91355
|
+
* @property {boolean|null} [isEnterprise] Org isEnterprise
|
|
91332
91356
|
*/
|
|
91333
91357
|
|
|
91334
91358
|
/**
|
|
@@ -91369,6 +91393,14 @@
|
|
|
91369
91393
|
*/
|
|
91370
91394
|
Org.prototype.slug = "";
|
|
91371
91395
|
|
|
91396
|
+
/**
|
|
91397
|
+
* Org isEnterprise.
|
|
91398
|
+
* @member {boolean} isEnterprise
|
|
91399
|
+
* @memberof replit.goval.api.repl.Org
|
|
91400
|
+
* @instance
|
|
91401
|
+
*/
|
|
91402
|
+
Org.prototype.isEnterprise = false;
|
|
91403
|
+
|
|
91372
91404
|
/**
|
|
91373
91405
|
* Creates a new Org instance using the specified properties.
|
|
91374
91406
|
* @function create
|
|
@@ -91399,6 +91431,8 @@
|
|
|
91399
91431
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
|
|
91400
91432
|
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
91401
91433
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
91434
|
+
if (message.isEnterprise != null && Object.hasOwnProperty.call(message, "isEnterprise"))
|
|
91435
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isEnterprise);
|
|
91402
91436
|
return writer;
|
|
91403
91437
|
};
|
|
91404
91438
|
|
|
@@ -91445,6 +91479,10 @@
|
|
|
91445
91479
|
message.slug = reader.string();
|
|
91446
91480
|
break;
|
|
91447
91481
|
}
|
|
91482
|
+
case 4: {
|
|
91483
|
+
message.isEnterprise = reader.bool();
|
|
91484
|
+
break;
|
|
91485
|
+
}
|
|
91448
91486
|
default:
|
|
91449
91487
|
reader.skipType(tag & 7);
|
|
91450
91488
|
break;
|
|
@@ -91495,6 +91533,9 @@
|
|
|
91495
91533
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
91496
91534
|
if (!$util.isString(message.slug))
|
|
91497
91535
|
return "slug: string expected";
|
|
91536
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
91537
|
+
if (typeof message.isEnterprise !== "boolean")
|
|
91538
|
+
return "isEnterprise: boolean expected";
|
|
91498
91539
|
return null;
|
|
91499
91540
|
};
|
|
91500
91541
|
|
|
@@ -91534,6 +91575,8 @@
|
|
|
91534
91575
|
}
|
|
91535
91576
|
if (object.slug != null)
|
|
91536
91577
|
message.slug = String(object.slug);
|
|
91578
|
+
if (object.isEnterprise != null)
|
|
91579
|
+
message.isEnterprise = Boolean(object.isEnterprise);
|
|
91537
91580
|
return message;
|
|
91538
91581
|
};
|
|
91539
91582
|
|
|
@@ -91554,6 +91597,7 @@
|
|
|
91554
91597
|
object.id = "";
|
|
91555
91598
|
object.type = options.enums === String ? "TYPE_UNSPECIFIED" : 0;
|
|
91556
91599
|
object.slug = "";
|
|
91600
|
+
object.isEnterprise = false;
|
|
91557
91601
|
}
|
|
91558
91602
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
91559
91603
|
object.id = message.id;
|
|
@@ -91561,6 +91605,8 @@
|
|
|
91561
91605
|
object.type = options.enums === String ? $root.replit.goval.api.repl.Org.OrgType[message.type] === undefined ? message.type : $root.replit.goval.api.repl.Org.OrgType[message.type] : message.type;
|
|
91562
91606
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
91563
91607
|
object.slug = message.slug;
|
|
91608
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
91609
|
+
object.isEnterprise = message.isEnterprise;
|
|
91564
91610
|
return object;
|
|
91565
91611
|
};
|
|
91566
91612
|
|