@replit/protocol 0.4.10 → 0.4.11
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
|
@@ -32653,6 +32653,9 @@ export namespace replit {
|
|
|
32653
32653
|
|
|
32654
32654
|
/** GetReplConnectionInfoRequest sourceReplId */
|
|
32655
32655
|
sourceReplId?: (string|null);
|
|
32656
|
+
|
|
32657
|
+
/** GetReplConnectionInfoRequest orgSlug */
|
|
32658
|
+
orgSlug?: (string|null);
|
|
32656
32659
|
}
|
|
32657
32660
|
|
|
32658
32661
|
/** Represents a GetReplConnectionInfoRequest. */
|
|
@@ -32685,6 +32688,9 @@ export namespace replit {
|
|
|
32685
32688
|
/** GetReplConnectionInfoRequest sourceReplId. */
|
|
32686
32689
|
public sourceReplId: string;
|
|
32687
32690
|
|
|
32691
|
+
/** GetReplConnectionInfoRequest orgSlug. */
|
|
32692
|
+
public orgSlug: string;
|
|
32693
|
+
|
|
32688
32694
|
/** GetReplConnectionInfoRequest defaultLocation. */
|
|
32689
32695
|
public defaultLocation?: ("defaultCluster"|"defaultContinent");
|
|
32690
32696
|
|
|
@@ -36472,6 +36478,9 @@ export namespace replit {
|
|
|
36472
36478
|
|
|
36473
36479
|
/** Org type */
|
|
36474
36480
|
type?: (replit.goval.api.repl.Org.OrgType|null);
|
|
36481
|
+
|
|
36482
|
+
/** Org slug */
|
|
36483
|
+
slug?: (string|null);
|
|
36475
36484
|
}
|
|
36476
36485
|
|
|
36477
36486
|
/** Represents an Org. */
|
|
@@ -36489,6 +36498,9 @@ export namespace replit {
|
|
|
36489
36498
|
/** Org type. */
|
|
36490
36499
|
public type: replit.goval.api.repl.Org.OrgType;
|
|
36491
36500
|
|
|
36501
|
+
/** Org slug. */
|
|
36502
|
+
public slug: string;
|
|
36503
|
+
|
|
36492
36504
|
/**
|
|
36493
36505
|
* Creates a new Org instance using the specified properties.
|
|
36494
36506
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -82328,6 +82328,7 @@
|
|
|
82328
82328
|
* @property {string|null} [defaultContinent] GetReplConnectionInfoRequest defaultContinent
|
|
82329
82329
|
* @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] GetReplConnectionInfoRequest replLocation
|
|
82330
82330
|
* @property {string|null} [sourceReplId] GetReplConnectionInfoRequest sourceReplId
|
|
82331
|
+
* @property {string|null} [orgSlug] GetReplConnectionInfoRequest orgSlug
|
|
82331
82332
|
*/
|
|
82332
82333
|
|
|
82333
82334
|
/**
|
|
@@ -82400,6 +82401,14 @@
|
|
|
82400
82401
|
*/
|
|
82401
82402
|
GetReplConnectionInfoRequest.prototype.sourceReplId = "";
|
|
82402
82403
|
|
|
82404
|
+
/**
|
|
82405
|
+
* GetReplConnectionInfoRequest orgSlug.
|
|
82406
|
+
* @member {string} orgSlug
|
|
82407
|
+
* @memberof replit.goval.api.lore.GetReplConnectionInfoRequest
|
|
82408
|
+
* @instance
|
|
82409
|
+
*/
|
|
82410
|
+
GetReplConnectionInfoRequest.prototype.orgSlug = "";
|
|
82411
|
+
|
|
82403
82412
|
// OneOf field names bound to virtual getters and setters
|
|
82404
82413
|
var $oneOfFields;
|
|
82405
82414
|
|
|
@@ -82452,6 +82461,8 @@
|
|
|
82452
82461
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.defaultContinent);
|
|
82453
82462
|
if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
|
|
82454
82463
|
$root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
82464
|
+
if (message.orgSlug != null && Object.hasOwnProperty.call(message, "orgSlug"))
|
|
82465
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.orgSlug);
|
|
82455
82466
|
return writer;
|
|
82456
82467
|
};
|
|
82457
82468
|
|
|
@@ -82514,6 +82525,10 @@
|
|
|
82514
82525
|
message.sourceReplId = reader.string();
|
|
82515
82526
|
break;
|
|
82516
82527
|
}
|
|
82528
|
+
case 11: {
|
|
82529
|
+
message.orgSlug = reader.string();
|
|
82530
|
+
break;
|
|
82531
|
+
}
|
|
82517
82532
|
default:
|
|
82518
82533
|
reader.skipType(tag & 7);
|
|
82519
82534
|
break;
|
|
@@ -82579,6 +82594,9 @@
|
|
|
82579
82594
|
if (message.sourceReplId != null && message.hasOwnProperty("sourceReplId"))
|
|
82580
82595
|
if (!$util.isString(message.sourceReplId))
|
|
82581
82596
|
return "sourceReplId: string expected";
|
|
82597
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
82598
|
+
if (!$util.isString(message.orgSlug))
|
|
82599
|
+
return "orgSlug: string expected";
|
|
82582
82600
|
return null;
|
|
82583
82601
|
};
|
|
82584
82602
|
|
|
@@ -82611,6 +82629,8 @@
|
|
|
82611
82629
|
}
|
|
82612
82630
|
if (object.sourceReplId != null)
|
|
82613
82631
|
message.sourceReplId = String(object.sourceReplId);
|
|
82632
|
+
if (object.orgSlug != null)
|
|
82633
|
+
message.orgSlug = String(object.orgSlug);
|
|
82614
82634
|
return message;
|
|
82615
82635
|
};
|
|
82616
82636
|
|
|
@@ -82633,6 +82653,7 @@
|
|
|
82633
82653
|
object.persistent = false;
|
|
82634
82654
|
object.sourceReplId = "";
|
|
82635
82655
|
object.replLocation = null;
|
|
82656
|
+
object.orgSlug = "";
|
|
82636
82657
|
}
|
|
82637
82658
|
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
82638
82659
|
object.replId = message.replId;
|
|
@@ -82654,6 +82675,8 @@
|
|
|
82654
82675
|
}
|
|
82655
82676
|
if (message.replLocation != null && message.hasOwnProperty("replLocation"))
|
|
82656
82677
|
object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
|
|
82678
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
82679
|
+
object.orgSlug = message.orgSlug;
|
|
82657
82680
|
return object;
|
|
82658
82681
|
};
|
|
82659
82682
|
|
|
@@ -90749,6 +90772,7 @@
|
|
|
90749
90772
|
* @interface IOrg
|
|
90750
90773
|
* @property {string|null} [id] Org id
|
|
90751
90774
|
* @property {replit.goval.api.repl.Org.OrgType|null} [type] Org type
|
|
90775
|
+
* @property {string|null} [slug] Org slug
|
|
90752
90776
|
*/
|
|
90753
90777
|
|
|
90754
90778
|
/**
|
|
@@ -90781,6 +90805,14 @@
|
|
|
90781
90805
|
*/
|
|
90782
90806
|
Org.prototype.type = 0;
|
|
90783
90807
|
|
|
90808
|
+
/**
|
|
90809
|
+
* Org slug.
|
|
90810
|
+
* @member {string} slug
|
|
90811
|
+
* @memberof replit.goval.api.repl.Org
|
|
90812
|
+
* @instance
|
|
90813
|
+
*/
|
|
90814
|
+
Org.prototype.slug = "";
|
|
90815
|
+
|
|
90784
90816
|
/**
|
|
90785
90817
|
* Creates a new Org instance using the specified properties.
|
|
90786
90818
|
* @function create
|
|
@@ -90809,6 +90841,8 @@
|
|
|
90809
90841
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
90810
90842
|
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
90811
90843
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
|
|
90844
|
+
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
90845
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
90812
90846
|
return writer;
|
|
90813
90847
|
};
|
|
90814
90848
|
|
|
@@ -90851,6 +90885,10 @@
|
|
|
90851
90885
|
message.type = reader.int32();
|
|
90852
90886
|
break;
|
|
90853
90887
|
}
|
|
90888
|
+
case 3: {
|
|
90889
|
+
message.slug = reader.string();
|
|
90890
|
+
break;
|
|
90891
|
+
}
|
|
90854
90892
|
default:
|
|
90855
90893
|
reader.skipType(tag & 7);
|
|
90856
90894
|
break;
|
|
@@ -90898,6 +90936,9 @@
|
|
|
90898
90936
|
case 2:
|
|
90899
90937
|
break;
|
|
90900
90938
|
}
|
|
90939
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
90940
|
+
if (!$util.isString(message.slug))
|
|
90941
|
+
return "slug: string expected";
|
|
90901
90942
|
return null;
|
|
90902
90943
|
};
|
|
90903
90944
|
|
|
@@ -90935,6 +90976,8 @@
|
|
|
90935
90976
|
message.type = 2;
|
|
90936
90977
|
break;
|
|
90937
90978
|
}
|
|
90979
|
+
if (object.slug != null)
|
|
90980
|
+
message.slug = String(object.slug);
|
|
90938
90981
|
return message;
|
|
90939
90982
|
};
|
|
90940
90983
|
|
|
@@ -90954,11 +90997,14 @@
|
|
|
90954
90997
|
if (options.defaults) {
|
|
90955
90998
|
object.id = "";
|
|
90956
90999
|
object.type = options.enums === String ? "TYPE_UNSPECIFIED" : 0;
|
|
91000
|
+
object.slug = "";
|
|
90957
91001
|
}
|
|
90958
91002
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
90959
91003
|
object.id = message.id;
|
|
90960
91004
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
90961
91005
|
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;
|
|
91006
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
91007
|
+
object.slug = message.slug;
|
|
90962
91008
|
return object;
|
|
90963
91009
|
};
|
|
90964
91010
|
|