@replit/protocol 0.2.63 → 0.2.66
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 +169 -4
- package/main/index.js +502 -19
- package/main/index.js.flow +245 -5
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -4028,6 +4028,9 @@ export namespace api {
|
|
|
4028
4028
|
|
|
4029
4029
|
/** Properties of a Flush. */
|
|
4030
4030
|
interface IFlush {
|
|
4031
|
+
|
|
4032
|
+
/** Flush consistency */
|
|
4033
|
+
consistency?: (api.Flush.Consistency|null);
|
|
4031
4034
|
}
|
|
4032
4035
|
|
|
4033
4036
|
/** Represents a Flush. */
|
|
@@ -4039,6 +4042,9 @@ export namespace api {
|
|
|
4039
4042
|
*/
|
|
4040
4043
|
private constructor(properties?: api.IFlush);
|
|
4041
4044
|
|
|
4045
|
+
/** Flush consistency. */
|
|
4046
|
+
public consistency: api.Flush.Consistency;
|
|
4047
|
+
|
|
4042
4048
|
/**
|
|
4043
4049
|
* Creates a new Flush instance using the specified properties.
|
|
4044
4050
|
* @param [properties] Properties to set
|
|
@@ -4110,6 +4116,15 @@ export namespace api {
|
|
|
4110
4116
|
public toJSON(): { [k: string]: any };
|
|
4111
4117
|
}
|
|
4112
4118
|
|
|
4119
|
+
namespace Flush {
|
|
4120
|
+
|
|
4121
|
+
/** Consistency enum. */
|
|
4122
|
+
enum Consistency {
|
|
4123
|
+
PermanentStorage = 0,
|
|
4124
|
+
Disk = 1
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4113
4128
|
/** Properties of a OTLinkFile. */
|
|
4114
4129
|
interface IOTLinkFile {
|
|
4115
4130
|
|
|
@@ -10658,6 +10673,15 @@ export namespace api {
|
|
|
10658
10673
|
|
|
10659
10674
|
/** User teams */
|
|
10660
10675
|
teams?: (string[]|null);
|
|
10676
|
+
|
|
10677
|
+
/** User bio */
|
|
10678
|
+
bio?: (string|null);
|
|
10679
|
+
|
|
10680
|
+
/** User url */
|
|
10681
|
+
url?: (string|null);
|
|
10682
|
+
|
|
10683
|
+
/** User profileImage */
|
|
10684
|
+
profileImage?: (string|null);
|
|
10661
10685
|
}
|
|
10662
10686
|
|
|
10663
10687
|
/** Represents a User. */
|
|
@@ -10684,6 +10708,15 @@ export namespace api {
|
|
|
10684
10708
|
/** User teams. */
|
|
10685
10709
|
public teams: string[];
|
|
10686
10710
|
|
|
10711
|
+
/** User bio. */
|
|
10712
|
+
public bio: string;
|
|
10713
|
+
|
|
10714
|
+
/** User url. */
|
|
10715
|
+
public url: string;
|
|
10716
|
+
|
|
10717
|
+
/** User profileImage. */
|
|
10718
|
+
public profileImage: string;
|
|
10719
|
+
|
|
10687
10720
|
/**
|
|
10688
10721
|
* Creates a new User instance using the specified properties.
|
|
10689
10722
|
* @param [properties] Properties to set
|
|
@@ -15617,6 +15650,9 @@ export namespace api {
|
|
|
15617
15650
|
|
|
15618
15651
|
/** DotReplit ports */
|
|
15619
15652
|
ports?: ((api.DotReplitPort|api.IDotReplitPort)[]|null);
|
|
15653
|
+
|
|
15654
|
+
/** DotReplit orderedEnv */
|
|
15655
|
+
orderedEnv?: ((api.DotReplitEnvVar|api.IDotReplitEnvVar)[]|null);
|
|
15620
15656
|
}
|
|
15621
15657
|
|
|
15622
15658
|
/** Represents a DotReplit. */
|
|
@@ -15685,6 +15721,9 @@ export namespace api {
|
|
|
15685
15721
|
/** DotReplit ports. */
|
|
15686
15722
|
public ports: api.DotReplitPort[];
|
|
15687
15723
|
|
|
15724
|
+
/** DotReplit orderedEnv. */
|
|
15725
|
+
public orderedEnv: api.DotReplitEnvVar[];
|
|
15726
|
+
|
|
15688
15727
|
/**
|
|
15689
15728
|
* Creates a new DotReplit instance using the specified properties.
|
|
15690
15729
|
* @param [properties] Properties to set
|
|
@@ -15756,6 +15795,102 @@ export namespace api {
|
|
|
15756
15795
|
public toJSON(): { [k: string]: any };
|
|
15757
15796
|
}
|
|
15758
15797
|
|
|
15798
|
+
/** Properties of a DotReplitEnvVar. */
|
|
15799
|
+
interface IDotReplitEnvVar {
|
|
15800
|
+
|
|
15801
|
+
/** DotReplitEnvVar key */
|
|
15802
|
+
key?: (string|null);
|
|
15803
|
+
|
|
15804
|
+
/** DotReplitEnvVar value */
|
|
15805
|
+
value?: (string|null);
|
|
15806
|
+
}
|
|
15807
|
+
|
|
15808
|
+
/** Represents a DotReplitEnvVar. */
|
|
15809
|
+
class DotReplitEnvVar {
|
|
15810
|
+
|
|
15811
|
+
/**
|
|
15812
|
+
* Constructs a new DotReplitEnvVar.
|
|
15813
|
+
* @param [properties] Properties to set
|
|
15814
|
+
*/
|
|
15815
|
+
private constructor(properties?: api.IDotReplitEnvVar);
|
|
15816
|
+
|
|
15817
|
+
/** DotReplitEnvVar key. */
|
|
15818
|
+
public key: string;
|
|
15819
|
+
|
|
15820
|
+
/** DotReplitEnvVar value. */
|
|
15821
|
+
public value: string;
|
|
15822
|
+
|
|
15823
|
+
/**
|
|
15824
|
+
* Creates a new DotReplitEnvVar instance using the specified properties.
|
|
15825
|
+
* @param [properties] Properties to set
|
|
15826
|
+
* @returns DotReplitEnvVar instance
|
|
15827
|
+
*/
|
|
15828
|
+
public static create(properties?: api.IDotReplitEnvVar): api.DotReplitEnvVar;
|
|
15829
|
+
|
|
15830
|
+
/**
|
|
15831
|
+
* Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
|
|
15832
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
15833
|
+
* @param [writer] Writer to encode to
|
|
15834
|
+
* @returns Writer
|
|
15835
|
+
*/
|
|
15836
|
+
public static encode(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15837
|
+
|
|
15838
|
+
/**
|
|
15839
|
+
* Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
|
|
15840
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
15841
|
+
* @param [writer] Writer to encode to
|
|
15842
|
+
* @returns Writer
|
|
15843
|
+
*/
|
|
15844
|
+
public static encodeDelimited(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15845
|
+
|
|
15846
|
+
/**
|
|
15847
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer.
|
|
15848
|
+
* @param reader Reader or buffer to decode from
|
|
15849
|
+
* @param [length] Message length if known beforehand
|
|
15850
|
+
* @returns DotReplitEnvVar
|
|
15851
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15852
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15853
|
+
*/
|
|
15854
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitEnvVar;
|
|
15855
|
+
|
|
15856
|
+
/**
|
|
15857
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
|
|
15858
|
+
* @param reader Reader or buffer to decode from
|
|
15859
|
+
* @returns DotReplitEnvVar
|
|
15860
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15861
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15862
|
+
*/
|
|
15863
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitEnvVar;
|
|
15864
|
+
|
|
15865
|
+
/**
|
|
15866
|
+
* Verifies a DotReplitEnvVar message.
|
|
15867
|
+
* @param message Plain object to verify
|
|
15868
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15869
|
+
*/
|
|
15870
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15871
|
+
|
|
15872
|
+
/**
|
|
15873
|
+
* Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
|
|
15874
|
+
* @param object Plain object
|
|
15875
|
+
* @returns DotReplitEnvVar
|
|
15876
|
+
*/
|
|
15877
|
+
public static fromObject(object: { [k: string]: any }): api.DotReplitEnvVar;
|
|
15878
|
+
|
|
15879
|
+
/**
|
|
15880
|
+
* Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
|
|
15881
|
+
* @param message DotReplitEnvVar
|
|
15882
|
+
* @param [options] Conversion options
|
|
15883
|
+
* @returns Plain object
|
|
15884
|
+
*/
|
|
15885
|
+
public static toObject(message: api.DotReplitEnvVar, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15886
|
+
|
|
15887
|
+
/**
|
|
15888
|
+
* Converts this DotReplitEnvVar to JSON.
|
|
15889
|
+
* @returns JSON object
|
|
15890
|
+
*/
|
|
15891
|
+
public toJSON(): { [k: string]: any };
|
|
15892
|
+
}
|
|
15893
|
+
|
|
15759
15894
|
/** Properties of a DotReplitPort. */
|
|
15760
15895
|
interface IDotReplitPort {
|
|
15761
15896
|
|
|
@@ -16227,8 +16362,23 @@ export namespace api {
|
|
|
16227
16362
|
/** Properties of an AuthConfig. */
|
|
16228
16363
|
interface IAuthConfig {
|
|
16229
16364
|
|
|
16230
|
-
/** AuthConfig
|
|
16231
|
-
|
|
16365
|
+
/** AuthConfig pageEnabled */
|
|
16366
|
+
pageEnabled?: (boolean|null);
|
|
16367
|
+
|
|
16368
|
+
/** AuthConfig pageTitle */
|
|
16369
|
+
pageTitle?: (string|null);
|
|
16370
|
+
|
|
16371
|
+
/** AuthConfig pageDescription */
|
|
16372
|
+
pageDescription?: (string|null);
|
|
16373
|
+
|
|
16374
|
+
/** AuthConfig pageColor */
|
|
16375
|
+
pageColor?: (string|null);
|
|
16376
|
+
|
|
16377
|
+
/** AuthConfig pageImage */
|
|
16378
|
+
pageImage?: (string|null);
|
|
16379
|
+
|
|
16380
|
+
/** AuthConfig buttonEnabled */
|
|
16381
|
+
buttonEnabled?: (boolean|null);
|
|
16232
16382
|
}
|
|
16233
16383
|
|
|
16234
16384
|
/** Represents an AuthConfig. */
|
|
@@ -16240,8 +16390,23 @@ export namespace api {
|
|
|
16240
16390
|
*/
|
|
16241
16391
|
private constructor(properties?: api.IAuthConfig);
|
|
16242
16392
|
|
|
16243
|
-
/** AuthConfig
|
|
16244
|
-
public
|
|
16393
|
+
/** AuthConfig pageEnabled. */
|
|
16394
|
+
public pageEnabled: boolean;
|
|
16395
|
+
|
|
16396
|
+
/** AuthConfig pageTitle. */
|
|
16397
|
+
public pageTitle: string;
|
|
16398
|
+
|
|
16399
|
+
/** AuthConfig pageDescription. */
|
|
16400
|
+
public pageDescription: string;
|
|
16401
|
+
|
|
16402
|
+
/** AuthConfig pageColor. */
|
|
16403
|
+
public pageColor: string;
|
|
16404
|
+
|
|
16405
|
+
/** AuthConfig pageImage. */
|
|
16406
|
+
public pageImage: string;
|
|
16407
|
+
|
|
16408
|
+
/** AuthConfig buttonEnabled. */
|
|
16409
|
+
public buttonEnabled: boolean;
|
|
16245
16410
|
|
|
16246
16411
|
/**
|
|
16247
16412
|
* Creates a new AuthConfig instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -12548,6 +12548,7 @@
|
|
|
12548
12548
|
* Properties of a Flush.
|
|
12549
12549
|
* @memberof api
|
|
12550
12550
|
* @interface IFlush
|
|
12551
|
+
* @property {api.Flush.Consistency|null} [consistency] Flush consistency
|
|
12551
12552
|
*/
|
|
12552
12553
|
|
|
12553
12554
|
/**
|
|
@@ -12564,6 +12565,14 @@
|
|
|
12564
12565
|
this[keys[i]] = properties[keys[i]];
|
|
12565
12566
|
}
|
|
12566
12567
|
|
|
12568
|
+
/**
|
|
12569
|
+
* Flush consistency.
|
|
12570
|
+
* @member {api.Flush.Consistency} consistency
|
|
12571
|
+
* @memberof api.Flush
|
|
12572
|
+
* @instance
|
|
12573
|
+
*/
|
|
12574
|
+
Flush.prototype.consistency = 0;
|
|
12575
|
+
|
|
12567
12576
|
/**
|
|
12568
12577
|
* Creates a new Flush instance using the specified properties.
|
|
12569
12578
|
* @function create
|
|
@@ -12588,6 +12597,8 @@
|
|
|
12588
12597
|
Flush.encode = function encode(message, writer) {
|
|
12589
12598
|
if (!writer)
|
|
12590
12599
|
writer = $Writer.create();
|
|
12600
|
+
if (message.consistency != null && Object.hasOwnProperty.call(message, "consistency"))
|
|
12601
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.consistency);
|
|
12591
12602
|
return writer;
|
|
12592
12603
|
};
|
|
12593
12604
|
|
|
@@ -12622,6 +12633,9 @@
|
|
|
12622
12633
|
while (reader.pos < end) {
|
|
12623
12634
|
var tag = reader.uint32();
|
|
12624
12635
|
switch (tag >>> 3) {
|
|
12636
|
+
case 1:
|
|
12637
|
+
message.consistency = reader.int32();
|
|
12638
|
+
break;
|
|
12625
12639
|
default:
|
|
12626
12640
|
reader.skipType(tag & 7);
|
|
12627
12641
|
break;
|
|
@@ -12657,6 +12671,14 @@
|
|
|
12657
12671
|
Flush.verify = function verify(message) {
|
|
12658
12672
|
if (typeof message !== "object" || message === null)
|
|
12659
12673
|
return "object expected";
|
|
12674
|
+
if (message.consistency != null && message.hasOwnProperty("consistency"))
|
|
12675
|
+
switch (message.consistency) {
|
|
12676
|
+
default:
|
|
12677
|
+
return "consistency: enum value expected";
|
|
12678
|
+
case 0:
|
|
12679
|
+
case 1:
|
|
12680
|
+
break;
|
|
12681
|
+
}
|
|
12660
12682
|
return null;
|
|
12661
12683
|
};
|
|
12662
12684
|
|
|
@@ -12671,7 +12693,18 @@
|
|
|
12671
12693
|
Flush.fromObject = function fromObject(object) {
|
|
12672
12694
|
if (object instanceof $root.api.Flush)
|
|
12673
12695
|
return object;
|
|
12674
|
-
|
|
12696
|
+
var message = new $root.api.Flush();
|
|
12697
|
+
switch (object.consistency) {
|
|
12698
|
+
case "PermanentStorage":
|
|
12699
|
+
case 0:
|
|
12700
|
+
message.consistency = 0;
|
|
12701
|
+
break;
|
|
12702
|
+
case "Disk":
|
|
12703
|
+
case 1:
|
|
12704
|
+
message.consistency = 1;
|
|
12705
|
+
break;
|
|
12706
|
+
}
|
|
12707
|
+
return message;
|
|
12675
12708
|
};
|
|
12676
12709
|
|
|
12677
12710
|
/**
|
|
@@ -12683,8 +12716,15 @@
|
|
|
12683
12716
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
12684
12717
|
* @returns {Object.<string,*>} Plain object
|
|
12685
12718
|
*/
|
|
12686
|
-
Flush.toObject = function toObject() {
|
|
12687
|
-
|
|
12719
|
+
Flush.toObject = function toObject(message, options) {
|
|
12720
|
+
if (!options)
|
|
12721
|
+
options = {};
|
|
12722
|
+
var object = {};
|
|
12723
|
+
if (options.defaults)
|
|
12724
|
+
object.consistency = options.enums === String ? "PermanentStorage" : 0;
|
|
12725
|
+
if (message.consistency != null && message.hasOwnProperty("consistency"))
|
|
12726
|
+
object.consistency = options.enums === String ? $root.api.Flush.Consistency[message.consistency] : message.consistency;
|
|
12727
|
+
return object;
|
|
12688
12728
|
};
|
|
12689
12729
|
|
|
12690
12730
|
/**
|
|
@@ -12698,6 +12738,20 @@
|
|
|
12698
12738
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
12699
12739
|
};
|
|
12700
12740
|
|
|
12741
|
+
/**
|
|
12742
|
+
* Consistency enum.
|
|
12743
|
+
* @name api.Flush.Consistency
|
|
12744
|
+
* @enum {number}
|
|
12745
|
+
* @property {number} PermanentStorage=0 PermanentStorage value
|
|
12746
|
+
* @property {number} Disk=1 Disk value
|
|
12747
|
+
*/
|
|
12748
|
+
Flush.Consistency = (function() {
|
|
12749
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
12750
|
+
values[valuesById[0] = "PermanentStorage"] = 0;
|
|
12751
|
+
values[valuesById[1] = "Disk"] = 1;
|
|
12752
|
+
return values;
|
|
12753
|
+
})();
|
|
12754
|
+
|
|
12701
12755
|
return Flush;
|
|
12702
12756
|
})();
|
|
12703
12757
|
|
|
@@ -27425,6 +27479,9 @@
|
|
|
27425
27479
|
* @property {Array.<string>|null} [roles] User roles
|
|
27426
27480
|
* @property {number|null} [session] User session
|
|
27427
27481
|
* @property {Array.<string>|null} [teams] User teams
|
|
27482
|
+
* @property {string|null} [bio] User bio
|
|
27483
|
+
* @property {string|null} [url] User url
|
|
27484
|
+
* @property {string|null} [profileImage] User profileImage
|
|
27428
27485
|
*/
|
|
27429
27486
|
|
|
27430
27487
|
/**
|
|
@@ -27483,6 +27540,30 @@
|
|
|
27483
27540
|
*/
|
|
27484
27541
|
User.prototype.teams = $util.emptyArray;
|
|
27485
27542
|
|
|
27543
|
+
/**
|
|
27544
|
+
* User bio.
|
|
27545
|
+
* @member {string} bio
|
|
27546
|
+
* @memberof api.User
|
|
27547
|
+
* @instance
|
|
27548
|
+
*/
|
|
27549
|
+
User.prototype.bio = "";
|
|
27550
|
+
|
|
27551
|
+
/**
|
|
27552
|
+
* User url.
|
|
27553
|
+
* @member {string} url
|
|
27554
|
+
* @memberof api.User
|
|
27555
|
+
* @instance
|
|
27556
|
+
*/
|
|
27557
|
+
User.prototype.url = "";
|
|
27558
|
+
|
|
27559
|
+
/**
|
|
27560
|
+
* User profileImage.
|
|
27561
|
+
* @member {string} profileImage
|
|
27562
|
+
* @memberof api.User
|
|
27563
|
+
* @instance
|
|
27564
|
+
*/
|
|
27565
|
+
User.prototype.profileImage = "";
|
|
27566
|
+
|
|
27486
27567
|
/**
|
|
27487
27568
|
* Creates a new User instance using the specified properties.
|
|
27488
27569
|
* @function create
|
|
@@ -27519,6 +27600,12 @@
|
|
|
27519
27600
|
if (message.teams != null && message.teams.length)
|
|
27520
27601
|
for (var i = 0; i < message.teams.length; ++i)
|
|
27521
27602
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.teams[i]);
|
|
27603
|
+
if (message.bio != null && Object.hasOwnProperty.call(message, "bio"))
|
|
27604
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.bio);
|
|
27605
|
+
if (message.url != null && Object.hasOwnProperty.call(message, "url"))
|
|
27606
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.url);
|
|
27607
|
+
if (message.profileImage != null && Object.hasOwnProperty.call(message, "profileImage"))
|
|
27608
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.profileImage);
|
|
27522
27609
|
return writer;
|
|
27523
27610
|
};
|
|
27524
27611
|
|
|
@@ -27572,6 +27659,15 @@
|
|
|
27572
27659
|
message.teams = [];
|
|
27573
27660
|
message.teams.push(reader.string());
|
|
27574
27661
|
break;
|
|
27662
|
+
case 6:
|
|
27663
|
+
message.bio = reader.string();
|
|
27664
|
+
break;
|
|
27665
|
+
case 7:
|
|
27666
|
+
message.url = reader.string();
|
|
27667
|
+
break;
|
|
27668
|
+
case 8:
|
|
27669
|
+
message.profileImage = reader.string();
|
|
27670
|
+
break;
|
|
27575
27671
|
default:
|
|
27576
27672
|
reader.skipType(tag & 7);
|
|
27577
27673
|
break;
|
|
@@ -27630,6 +27726,15 @@
|
|
|
27630
27726
|
if (!$util.isString(message.teams[i]))
|
|
27631
27727
|
return "teams: string[] expected";
|
|
27632
27728
|
}
|
|
27729
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
27730
|
+
if (!$util.isString(message.bio))
|
|
27731
|
+
return "bio: string expected";
|
|
27732
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
27733
|
+
if (!$util.isString(message.url))
|
|
27734
|
+
return "url: string expected";
|
|
27735
|
+
if (message.profileImage != null && message.hasOwnProperty("profileImage"))
|
|
27736
|
+
if (!$util.isString(message.profileImage))
|
|
27737
|
+
return "profileImage: string expected";
|
|
27633
27738
|
return null;
|
|
27634
27739
|
};
|
|
27635
27740
|
|
|
@@ -27665,6 +27770,12 @@
|
|
|
27665
27770
|
for (var i = 0; i < object.teams.length; ++i)
|
|
27666
27771
|
message.teams[i] = String(object.teams[i]);
|
|
27667
27772
|
}
|
|
27773
|
+
if (object.bio != null)
|
|
27774
|
+
message.bio = String(object.bio);
|
|
27775
|
+
if (object.url != null)
|
|
27776
|
+
message.url = String(object.url);
|
|
27777
|
+
if (object.profileImage != null)
|
|
27778
|
+
message.profileImage = String(object.profileImage);
|
|
27668
27779
|
return message;
|
|
27669
27780
|
};
|
|
27670
27781
|
|
|
@@ -27689,6 +27800,9 @@
|
|
|
27689
27800
|
object.id = 0;
|
|
27690
27801
|
object.name = "";
|
|
27691
27802
|
object.session = 0;
|
|
27803
|
+
object.bio = "";
|
|
27804
|
+
object.url = "";
|
|
27805
|
+
object.profileImage = "";
|
|
27692
27806
|
}
|
|
27693
27807
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
27694
27808
|
object.id = message.id;
|
|
@@ -27706,6 +27820,12 @@
|
|
|
27706
27820
|
for (var j = 0; j < message.teams.length; ++j)
|
|
27707
27821
|
object.teams[j] = message.teams[j];
|
|
27708
27822
|
}
|
|
27823
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
27824
|
+
object.bio = message.bio;
|
|
27825
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
27826
|
+
object.url = message.url;
|
|
27827
|
+
if (message.profileImage != null && message.hasOwnProperty("profileImage"))
|
|
27828
|
+
object.profileImage = message.profileImage;
|
|
27709
27829
|
return object;
|
|
27710
27830
|
};
|
|
27711
27831
|
|
|
@@ -38641,6 +38761,7 @@
|
|
|
38641
38761
|
* @property {api.AuthConfig|api.IAuthConfig|null} [auth] DotReplit auth
|
|
38642
38762
|
* @property {Array.<api.DotReplitHint|api.IDotReplitHint>|null} [hintsList] DotReplit hintsList
|
|
38643
38763
|
* @property {Array.<api.DotReplitPort|api.IDotReplitPort>|null} [ports] DotReplit ports
|
|
38764
|
+
* @property {Array.<api.DotReplitEnvVar|api.IDotReplitEnvVar>|null} [orderedEnv] DotReplit orderedEnv
|
|
38644
38765
|
*/
|
|
38645
38766
|
|
|
38646
38767
|
/**
|
|
@@ -38656,6 +38777,7 @@
|
|
|
38656
38777
|
this.env = {};
|
|
38657
38778
|
this.hintsList = [];
|
|
38658
38779
|
this.ports = [];
|
|
38780
|
+
this.orderedEnv = [];
|
|
38659
38781
|
if (properties)
|
|
38660
38782
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38661
38783
|
if (properties[keys[i]] != null)
|
|
@@ -38814,6 +38936,14 @@
|
|
|
38814
38936
|
*/
|
|
38815
38937
|
DotReplit.prototype.ports = $util.emptyArray;
|
|
38816
38938
|
|
|
38939
|
+
/**
|
|
38940
|
+
* DotReplit orderedEnv.
|
|
38941
|
+
* @member {Array.<api.DotReplitEnvVar>} orderedEnv
|
|
38942
|
+
* @memberof api.DotReplit
|
|
38943
|
+
* @instance
|
|
38944
|
+
*/
|
|
38945
|
+
DotReplit.prototype.orderedEnv = $util.emptyArray;
|
|
38946
|
+
|
|
38817
38947
|
/**
|
|
38818
38948
|
* Creates a new DotReplit instance using the specified properties.
|
|
38819
38949
|
* @function create
|
|
@@ -38883,6 +39013,9 @@
|
|
|
38883
39013
|
if (message.ports != null && message.ports.length)
|
|
38884
39014
|
for (var i = 0; i < message.ports.length; ++i)
|
|
38885
39015
|
$root.api.DotReplitPort.encode(message.ports[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
39016
|
+
if (message.orderedEnv != null && message.orderedEnv.length)
|
|
39017
|
+
for (var i = 0; i < message.orderedEnv.length; ++i)
|
|
39018
|
+
$root.api.DotReplitEnvVar.encode(message.orderedEnv[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
38886
39019
|
return writer;
|
|
38887
39020
|
};
|
|
38888
39021
|
|
|
@@ -39018,6 +39151,11 @@
|
|
|
39018
39151
|
message.ports = [];
|
|
39019
39152
|
message.ports.push($root.api.DotReplitPort.decode(reader, reader.uint32()));
|
|
39020
39153
|
break;
|
|
39154
|
+
case 20:
|
|
39155
|
+
if (!(message.orderedEnv && message.orderedEnv.length))
|
|
39156
|
+
message.orderedEnv = [];
|
|
39157
|
+
message.orderedEnv.push($root.api.DotReplitEnvVar.decode(reader, reader.uint32()));
|
|
39158
|
+
break;
|
|
39021
39159
|
default:
|
|
39022
39160
|
reader.skipType(tag & 7);
|
|
39023
39161
|
break;
|
|
@@ -39160,6 +39298,15 @@
|
|
|
39160
39298
|
return "ports." + error;
|
|
39161
39299
|
}
|
|
39162
39300
|
}
|
|
39301
|
+
if (message.orderedEnv != null && message.hasOwnProperty("orderedEnv")) {
|
|
39302
|
+
if (!Array.isArray(message.orderedEnv))
|
|
39303
|
+
return "orderedEnv: array expected";
|
|
39304
|
+
for (var i = 0; i < message.orderedEnv.length; ++i) {
|
|
39305
|
+
var error = $root.api.DotReplitEnvVar.verify(message.orderedEnv[i]);
|
|
39306
|
+
if (error)
|
|
39307
|
+
return "orderedEnv." + error;
|
|
39308
|
+
}
|
|
39309
|
+
}
|
|
39163
39310
|
return null;
|
|
39164
39311
|
};
|
|
39165
39312
|
|
|
@@ -39280,6 +39427,16 @@
|
|
|
39280
39427
|
message.ports[i] = $root.api.DotReplitPort.fromObject(object.ports[i]);
|
|
39281
39428
|
}
|
|
39282
39429
|
}
|
|
39430
|
+
if (object.orderedEnv) {
|
|
39431
|
+
if (!Array.isArray(object.orderedEnv))
|
|
39432
|
+
throw TypeError(".api.DotReplit.orderedEnv: array expected");
|
|
39433
|
+
message.orderedEnv = [];
|
|
39434
|
+
for (var i = 0; i < object.orderedEnv.length; ++i) {
|
|
39435
|
+
if (typeof object.orderedEnv[i] !== "object")
|
|
39436
|
+
throw TypeError(".api.DotReplit.orderedEnv: object expected");
|
|
39437
|
+
message.orderedEnv[i] = $root.api.DotReplitEnvVar.fromObject(object.orderedEnv[i]);
|
|
39438
|
+
}
|
|
39439
|
+
}
|
|
39283
39440
|
return message;
|
|
39284
39441
|
};
|
|
39285
39442
|
|
|
@@ -39300,6 +39457,7 @@
|
|
|
39300
39457
|
object.hidden = [];
|
|
39301
39458
|
object.hintsList = [];
|
|
39302
39459
|
object.ports = [];
|
|
39460
|
+
object.orderedEnv = [];
|
|
39303
39461
|
}
|
|
39304
39462
|
if (options.objects || options.defaults) {
|
|
39305
39463
|
object.languages = {};
|
|
@@ -39375,6 +39533,11 @@
|
|
|
39375
39533
|
for (var j = 0; j < message.ports.length; ++j)
|
|
39376
39534
|
object.ports[j] = $root.api.DotReplitPort.toObject(message.ports[j], options);
|
|
39377
39535
|
}
|
|
39536
|
+
if (message.orderedEnv && message.orderedEnv.length) {
|
|
39537
|
+
object.orderedEnv = [];
|
|
39538
|
+
for (var j = 0; j < message.orderedEnv.length; ++j)
|
|
39539
|
+
object.orderedEnv[j] = $root.api.DotReplitEnvVar.toObject(message.orderedEnv[j], options);
|
|
39540
|
+
}
|
|
39378
39541
|
return object;
|
|
39379
39542
|
};
|
|
39380
39543
|
|
|
@@ -39392,6 +39555,215 @@
|
|
|
39392
39555
|
return DotReplit;
|
|
39393
39556
|
})();
|
|
39394
39557
|
|
|
39558
|
+
api.DotReplitEnvVar = (function() {
|
|
39559
|
+
|
|
39560
|
+
/**
|
|
39561
|
+
* Properties of a DotReplitEnvVar.
|
|
39562
|
+
* @memberof api
|
|
39563
|
+
* @interface IDotReplitEnvVar
|
|
39564
|
+
* @property {string|null} [key] DotReplitEnvVar key
|
|
39565
|
+
* @property {string|null} [value] DotReplitEnvVar value
|
|
39566
|
+
*/
|
|
39567
|
+
|
|
39568
|
+
/**
|
|
39569
|
+
* Constructs a new DotReplitEnvVar.
|
|
39570
|
+
* @memberof api
|
|
39571
|
+
* @classdesc Represents a DotReplitEnvVar.
|
|
39572
|
+
* @constructor
|
|
39573
|
+
* @param {api.IDotReplitEnvVar=} [properties] Properties to set
|
|
39574
|
+
*/
|
|
39575
|
+
function DotReplitEnvVar(properties) {
|
|
39576
|
+
if (properties)
|
|
39577
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39578
|
+
if (properties[keys[i]] != null)
|
|
39579
|
+
this[keys[i]] = properties[keys[i]];
|
|
39580
|
+
}
|
|
39581
|
+
|
|
39582
|
+
/**
|
|
39583
|
+
* DotReplitEnvVar key.
|
|
39584
|
+
* @member {string} key
|
|
39585
|
+
* @memberof api.DotReplitEnvVar
|
|
39586
|
+
* @instance
|
|
39587
|
+
*/
|
|
39588
|
+
DotReplitEnvVar.prototype.key = "";
|
|
39589
|
+
|
|
39590
|
+
/**
|
|
39591
|
+
* DotReplitEnvVar value.
|
|
39592
|
+
* @member {string} value
|
|
39593
|
+
* @memberof api.DotReplitEnvVar
|
|
39594
|
+
* @instance
|
|
39595
|
+
*/
|
|
39596
|
+
DotReplitEnvVar.prototype.value = "";
|
|
39597
|
+
|
|
39598
|
+
/**
|
|
39599
|
+
* Creates a new DotReplitEnvVar instance using the specified properties.
|
|
39600
|
+
* @function create
|
|
39601
|
+
* @memberof api.DotReplitEnvVar
|
|
39602
|
+
* @static
|
|
39603
|
+
* @param {api.IDotReplitEnvVar=} [properties] Properties to set
|
|
39604
|
+
* @returns {api.DotReplitEnvVar} DotReplitEnvVar instance
|
|
39605
|
+
*/
|
|
39606
|
+
DotReplitEnvVar.create = function create(properties) {
|
|
39607
|
+
return DotReplitEnvVar.fromObject(properties);
|
|
39608
|
+
};
|
|
39609
|
+
|
|
39610
|
+
/**
|
|
39611
|
+
* Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
|
|
39612
|
+
* @function encode
|
|
39613
|
+
* @memberof api.DotReplitEnvVar
|
|
39614
|
+
* @static
|
|
39615
|
+
* @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
|
|
39616
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39617
|
+
* @returns {$protobuf.Writer} Writer
|
|
39618
|
+
*/
|
|
39619
|
+
DotReplitEnvVar.encode = function encode(message, writer) {
|
|
39620
|
+
if (!writer)
|
|
39621
|
+
writer = $Writer.create();
|
|
39622
|
+
if (message.key != null && Object.hasOwnProperty.call(message, "key"))
|
|
39623
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.key);
|
|
39624
|
+
if (message.value != null && Object.hasOwnProperty.call(message, "value"))
|
|
39625
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
|
|
39626
|
+
return writer;
|
|
39627
|
+
};
|
|
39628
|
+
|
|
39629
|
+
/**
|
|
39630
|
+
* Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
|
|
39631
|
+
* @function encodeDelimited
|
|
39632
|
+
* @memberof api.DotReplitEnvVar
|
|
39633
|
+
* @static
|
|
39634
|
+
* @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
|
|
39635
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39636
|
+
* @returns {$protobuf.Writer} Writer
|
|
39637
|
+
*/
|
|
39638
|
+
DotReplitEnvVar.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39639
|
+
return this.encode(message, writer).ldelim();
|
|
39640
|
+
};
|
|
39641
|
+
|
|
39642
|
+
/**
|
|
39643
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer.
|
|
39644
|
+
* @function decode
|
|
39645
|
+
* @memberof api.DotReplitEnvVar
|
|
39646
|
+
* @static
|
|
39647
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39648
|
+
* @param {number} [length] Message length if known beforehand
|
|
39649
|
+
* @returns {api.DotReplitEnvVar} DotReplitEnvVar
|
|
39650
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39651
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39652
|
+
*/
|
|
39653
|
+
DotReplitEnvVar.decode = function decode(reader, length) {
|
|
39654
|
+
if (!(reader instanceof $Reader))
|
|
39655
|
+
reader = $Reader.create(reader);
|
|
39656
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitEnvVar();
|
|
39657
|
+
while (reader.pos < end) {
|
|
39658
|
+
var tag = reader.uint32();
|
|
39659
|
+
switch (tag >>> 3) {
|
|
39660
|
+
case 1:
|
|
39661
|
+
message.key = reader.string();
|
|
39662
|
+
break;
|
|
39663
|
+
case 2:
|
|
39664
|
+
message.value = reader.string();
|
|
39665
|
+
break;
|
|
39666
|
+
default:
|
|
39667
|
+
reader.skipType(tag & 7);
|
|
39668
|
+
break;
|
|
39669
|
+
}
|
|
39670
|
+
}
|
|
39671
|
+
return message;
|
|
39672
|
+
};
|
|
39673
|
+
|
|
39674
|
+
/**
|
|
39675
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
|
|
39676
|
+
* @function decodeDelimited
|
|
39677
|
+
* @memberof api.DotReplitEnvVar
|
|
39678
|
+
* @static
|
|
39679
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39680
|
+
* @returns {api.DotReplitEnvVar} DotReplitEnvVar
|
|
39681
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39682
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39683
|
+
*/
|
|
39684
|
+
DotReplitEnvVar.decodeDelimited = function decodeDelimited(reader) {
|
|
39685
|
+
if (!(reader instanceof $Reader))
|
|
39686
|
+
reader = new $Reader(reader);
|
|
39687
|
+
return this.decode(reader, reader.uint32());
|
|
39688
|
+
};
|
|
39689
|
+
|
|
39690
|
+
/**
|
|
39691
|
+
* Verifies a DotReplitEnvVar message.
|
|
39692
|
+
* @function verify
|
|
39693
|
+
* @memberof api.DotReplitEnvVar
|
|
39694
|
+
* @static
|
|
39695
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
39696
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39697
|
+
*/
|
|
39698
|
+
DotReplitEnvVar.verify = function verify(message) {
|
|
39699
|
+
if (typeof message !== "object" || message === null)
|
|
39700
|
+
return "object expected";
|
|
39701
|
+
if (message.key != null && message.hasOwnProperty("key"))
|
|
39702
|
+
if (!$util.isString(message.key))
|
|
39703
|
+
return "key: string expected";
|
|
39704
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
39705
|
+
if (!$util.isString(message.value))
|
|
39706
|
+
return "value: string expected";
|
|
39707
|
+
return null;
|
|
39708
|
+
};
|
|
39709
|
+
|
|
39710
|
+
/**
|
|
39711
|
+
* Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
|
|
39712
|
+
* @function fromObject
|
|
39713
|
+
* @memberof api.DotReplitEnvVar
|
|
39714
|
+
* @static
|
|
39715
|
+
* @param {Object.<string,*>} object Plain object
|
|
39716
|
+
* @returns {api.DotReplitEnvVar} DotReplitEnvVar
|
|
39717
|
+
*/
|
|
39718
|
+
DotReplitEnvVar.fromObject = function fromObject(object) {
|
|
39719
|
+
if (object instanceof $root.api.DotReplitEnvVar)
|
|
39720
|
+
return object;
|
|
39721
|
+
var message = new $root.api.DotReplitEnvVar();
|
|
39722
|
+
if (object.key != null)
|
|
39723
|
+
message.key = String(object.key);
|
|
39724
|
+
if (object.value != null)
|
|
39725
|
+
message.value = String(object.value);
|
|
39726
|
+
return message;
|
|
39727
|
+
};
|
|
39728
|
+
|
|
39729
|
+
/**
|
|
39730
|
+
* Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
|
|
39731
|
+
* @function toObject
|
|
39732
|
+
* @memberof api.DotReplitEnvVar
|
|
39733
|
+
* @static
|
|
39734
|
+
* @param {api.DotReplitEnvVar} message DotReplitEnvVar
|
|
39735
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39736
|
+
* @returns {Object.<string,*>} Plain object
|
|
39737
|
+
*/
|
|
39738
|
+
DotReplitEnvVar.toObject = function toObject(message, options) {
|
|
39739
|
+
if (!options)
|
|
39740
|
+
options = {};
|
|
39741
|
+
var object = {};
|
|
39742
|
+
if (options.defaults) {
|
|
39743
|
+
object.key = "";
|
|
39744
|
+
object.value = "";
|
|
39745
|
+
}
|
|
39746
|
+
if (message.key != null && message.hasOwnProperty("key"))
|
|
39747
|
+
object.key = message.key;
|
|
39748
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
39749
|
+
object.value = message.value;
|
|
39750
|
+
return object;
|
|
39751
|
+
};
|
|
39752
|
+
|
|
39753
|
+
/**
|
|
39754
|
+
* Converts this DotReplitEnvVar to JSON.
|
|
39755
|
+
* @function toJSON
|
|
39756
|
+
* @memberof api.DotReplitEnvVar
|
|
39757
|
+
* @instance
|
|
39758
|
+
* @returns {Object.<string,*>} JSON object
|
|
39759
|
+
*/
|
|
39760
|
+
DotReplitEnvVar.prototype.toJSON = function toJSON() {
|
|
39761
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
39762
|
+
};
|
|
39763
|
+
|
|
39764
|
+
return DotReplitEnvVar;
|
|
39765
|
+
})();
|
|
39766
|
+
|
|
39395
39767
|
api.DotReplitPort = (function() {
|
|
39396
39768
|
|
|
39397
39769
|
/**
|
|
@@ -40413,7 +40785,12 @@
|
|
|
40413
40785
|
* Properties of an AuthConfig.
|
|
40414
40786
|
* @memberof api
|
|
40415
40787
|
* @interface IAuthConfig
|
|
40416
|
-
* @property {boolean|null} [
|
|
40788
|
+
* @property {boolean|null} [pageEnabled] AuthConfig pageEnabled
|
|
40789
|
+
* @property {string|null} [pageTitle] AuthConfig pageTitle
|
|
40790
|
+
* @property {string|null} [pageDescription] AuthConfig pageDescription
|
|
40791
|
+
* @property {string|null} [pageColor] AuthConfig pageColor
|
|
40792
|
+
* @property {string|null} [pageImage] AuthConfig pageImage
|
|
40793
|
+
* @property {boolean|null} [buttonEnabled] AuthConfig buttonEnabled
|
|
40417
40794
|
*/
|
|
40418
40795
|
|
|
40419
40796
|
/**
|
|
@@ -40431,12 +40808,52 @@
|
|
|
40431
40808
|
}
|
|
40432
40809
|
|
|
40433
40810
|
/**
|
|
40434
|
-
* AuthConfig
|
|
40435
|
-
* @member {boolean}
|
|
40811
|
+
* AuthConfig pageEnabled.
|
|
40812
|
+
* @member {boolean} pageEnabled
|
|
40813
|
+
* @memberof api.AuthConfig
|
|
40814
|
+
* @instance
|
|
40815
|
+
*/
|
|
40816
|
+
AuthConfig.prototype.pageEnabled = false;
|
|
40817
|
+
|
|
40818
|
+
/**
|
|
40819
|
+
* AuthConfig pageTitle.
|
|
40820
|
+
* @member {string} pageTitle
|
|
40436
40821
|
* @memberof api.AuthConfig
|
|
40437
40822
|
* @instance
|
|
40438
40823
|
*/
|
|
40439
|
-
AuthConfig.prototype.
|
|
40824
|
+
AuthConfig.prototype.pageTitle = "";
|
|
40825
|
+
|
|
40826
|
+
/**
|
|
40827
|
+
* AuthConfig pageDescription.
|
|
40828
|
+
* @member {string} pageDescription
|
|
40829
|
+
* @memberof api.AuthConfig
|
|
40830
|
+
* @instance
|
|
40831
|
+
*/
|
|
40832
|
+
AuthConfig.prototype.pageDescription = "";
|
|
40833
|
+
|
|
40834
|
+
/**
|
|
40835
|
+
* AuthConfig pageColor.
|
|
40836
|
+
* @member {string} pageColor
|
|
40837
|
+
* @memberof api.AuthConfig
|
|
40838
|
+
* @instance
|
|
40839
|
+
*/
|
|
40840
|
+
AuthConfig.prototype.pageColor = "";
|
|
40841
|
+
|
|
40842
|
+
/**
|
|
40843
|
+
* AuthConfig pageImage.
|
|
40844
|
+
* @member {string} pageImage
|
|
40845
|
+
* @memberof api.AuthConfig
|
|
40846
|
+
* @instance
|
|
40847
|
+
*/
|
|
40848
|
+
AuthConfig.prototype.pageImage = "";
|
|
40849
|
+
|
|
40850
|
+
/**
|
|
40851
|
+
* AuthConfig buttonEnabled.
|
|
40852
|
+
* @member {boolean} buttonEnabled
|
|
40853
|
+
* @memberof api.AuthConfig
|
|
40854
|
+
* @instance
|
|
40855
|
+
*/
|
|
40856
|
+
AuthConfig.prototype.buttonEnabled = false;
|
|
40440
40857
|
|
|
40441
40858
|
/**
|
|
40442
40859
|
* Creates a new AuthConfig instance using the specified properties.
|
|
@@ -40462,8 +40879,18 @@
|
|
|
40462
40879
|
AuthConfig.encode = function encode(message, writer) {
|
|
40463
40880
|
if (!writer)
|
|
40464
40881
|
writer = $Writer.create();
|
|
40465
|
-
if (message.
|
|
40466
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.
|
|
40882
|
+
if (message.pageEnabled != null && Object.hasOwnProperty.call(message, "pageEnabled"))
|
|
40883
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.pageEnabled);
|
|
40884
|
+
if (message.pageTitle != null && Object.hasOwnProperty.call(message, "pageTitle"))
|
|
40885
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.pageTitle);
|
|
40886
|
+
if (message.pageDescription != null && Object.hasOwnProperty.call(message, "pageDescription"))
|
|
40887
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageDescription);
|
|
40888
|
+
if (message.pageColor != null && Object.hasOwnProperty.call(message, "pageColor"))
|
|
40889
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageColor);
|
|
40890
|
+
if (message.pageImage != null && Object.hasOwnProperty.call(message, "pageImage"))
|
|
40891
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.pageImage);
|
|
40892
|
+
if (message.buttonEnabled != null && Object.hasOwnProperty.call(message, "buttonEnabled"))
|
|
40893
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.buttonEnabled);
|
|
40467
40894
|
return writer;
|
|
40468
40895
|
};
|
|
40469
40896
|
|
|
@@ -40499,7 +40926,22 @@
|
|
|
40499
40926
|
var tag = reader.uint32();
|
|
40500
40927
|
switch (tag >>> 3) {
|
|
40501
40928
|
case 1:
|
|
40502
|
-
message.
|
|
40929
|
+
message.pageEnabled = reader.bool();
|
|
40930
|
+
break;
|
|
40931
|
+
case 2:
|
|
40932
|
+
message.pageTitle = reader.string();
|
|
40933
|
+
break;
|
|
40934
|
+
case 3:
|
|
40935
|
+
message.pageDescription = reader.string();
|
|
40936
|
+
break;
|
|
40937
|
+
case 4:
|
|
40938
|
+
message.pageColor = reader.string();
|
|
40939
|
+
break;
|
|
40940
|
+
case 5:
|
|
40941
|
+
message.pageImage = reader.string();
|
|
40942
|
+
break;
|
|
40943
|
+
case 6:
|
|
40944
|
+
message.buttonEnabled = reader.bool();
|
|
40503
40945
|
break;
|
|
40504
40946
|
default:
|
|
40505
40947
|
reader.skipType(tag & 7);
|
|
@@ -40536,9 +40978,24 @@
|
|
|
40536
40978
|
AuthConfig.verify = function verify(message) {
|
|
40537
40979
|
if (typeof message !== "object" || message === null)
|
|
40538
40980
|
return "object expected";
|
|
40539
|
-
if (message.
|
|
40540
|
-
if (typeof message.
|
|
40541
|
-
return "
|
|
40981
|
+
if (message.pageEnabled != null && message.hasOwnProperty("pageEnabled"))
|
|
40982
|
+
if (typeof message.pageEnabled !== "boolean")
|
|
40983
|
+
return "pageEnabled: boolean expected";
|
|
40984
|
+
if (message.pageTitle != null && message.hasOwnProperty("pageTitle"))
|
|
40985
|
+
if (!$util.isString(message.pageTitle))
|
|
40986
|
+
return "pageTitle: string expected";
|
|
40987
|
+
if (message.pageDescription != null && message.hasOwnProperty("pageDescription"))
|
|
40988
|
+
if (!$util.isString(message.pageDescription))
|
|
40989
|
+
return "pageDescription: string expected";
|
|
40990
|
+
if (message.pageColor != null && message.hasOwnProperty("pageColor"))
|
|
40991
|
+
if (!$util.isString(message.pageColor))
|
|
40992
|
+
return "pageColor: string expected";
|
|
40993
|
+
if (message.pageImage != null && message.hasOwnProperty("pageImage"))
|
|
40994
|
+
if (!$util.isString(message.pageImage))
|
|
40995
|
+
return "pageImage: string expected";
|
|
40996
|
+
if (message.buttonEnabled != null && message.hasOwnProperty("buttonEnabled"))
|
|
40997
|
+
if (typeof message.buttonEnabled !== "boolean")
|
|
40998
|
+
return "buttonEnabled: boolean expected";
|
|
40542
40999
|
return null;
|
|
40543
41000
|
};
|
|
40544
41001
|
|
|
@@ -40554,8 +41011,18 @@
|
|
|
40554
41011
|
if (object instanceof $root.api.AuthConfig)
|
|
40555
41012
|
return object;
|
|
40556
41013
|
var message = new $root.api.AuthConfig();
|
|
40557
|
-
if (object.
|
|
40558
|
-
message.
|
|
41014
|
+
if (object.pageEnabled != null)
|
|
41015
|
+
message.pageEnabled = Boolean(object.pageEnabled);
|
|
41016
|
+
if (object.pageTitle != null)
|
|
41017
|
+
message.pageTitle = String(object.pageTitle);
|
|
41018
|
+
if (object.pageDescription != null)
|
|
41019
|
+
message.pageDescription = String(object.pageDescription);
|
|
41020
|
+
if (object.pageColor != null)
|
|
41021
|
+
message.pageColor = String(object.pageColor);
|
|
41022
|
+
if (object.pageImage != null)
|
|
41023
|
+
message.pageImage = String(object.pageImage);
|
|
41024
|
+
if (object.buttonEnabled != null)
|
|
41025
|
+
message.buttonEnabled = Boolean(object.buttonEnabled);
|
|
40559
41026
|
return message;
|
|
40560
41027
|
};
|
|
40561
41028
|
|
|
@@ -40572,10 +41039,26 @@
|
|
|
40572
41039
|
if (!options)
|
|
40573
41040
|
options = {};
|
|
40574
41041
|
var object = {};
|
|
40575
|
-
if (options.defaults)
|
|
40576
|
-
object.
|
|
40577
|
-
|
|
40578
|
-
object.
|
|
41042
|
+
if (options.defaults) {
|
|
41043
|
+
object.pageEnabled = false;
|
|
41044
|
+
object.pageTitle = "";
|
|
41045
|
+
object.pageDescription = "";
|
|
41046
|
+
object.pageColor = "";
|
|
41047
|
+
object.pageImage = "";
|
|
41048
|
+
object.buttonEnabled = false;
|
|
41049
|
+
}
|
|
41050
|
+
if (message.pageEnabled != null && message.hasOwnProperty("pageEnabled"))
|
|
41051
|
+
object.pageEnabled = message.pageEnabled;
|
|
41052
|
+
if (message.pageTitle != null && message.hasOwnProperty("pageTitle"))
|
|
41053
|
+
object.pageTitle = message.pageTitle;
|
|
41054
|
+
if (message.pageDescription != null && message.hasOwnProperty("pageDescription"))
|
|
41055
|
+
object.pageDescription = message.pageDescription;
|
|
41056
|
+
if (message.pageColor != null && message.hasOwnProperty("pageColor"))
|
|
41057
|
+
object.pageColor = message.pageColor;
|
|
41058
|
+
if (message.pageImage != null && message.hasOwnProperty("pageImage"))
|
|
41059
|
+
object.pageImage = message.pageImage;
|
|
41060
|
+
if (message.buttonEnabled != null && message.hasOwnProperty("buttonEnabled"))
|
|
41061
|
+
object.buttonEnabled = message.buttonEnabled;
|
|
40579
41062
|
return object;
|
|
40580
41063
|
};
|
|
40581
41064
|
|
package/main/index.js.flow
CHANGED
|
@@ -164,6 +164,7 @@ declare var npm$namespace$api: {|
|
|
|
164
164
|
IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
|
|
165
165
|
IDebugBreakpoint: Class<api$IDebugBreakpoint>,
|
|
166
166
|
IDotReplit: Class<api$IDotReplit>,
|
|
167
|
+
IDotReplitEnvVar: Class<api$IDotReplitEnvVar>,
|
|
167
168
|
IDotReplitPort: Class<api$IDotReplitPort>,
|
|
168
169
|
IDotReplitHint: Class<api$IDotReplitHint>,
|
|
169
170
|
IGitHubImportConfig: Class<api$IGitHubImportConfig>,
|
|
@@ -349,6 +350,7 @@ declare var npm$namespace$api: {|
|
|
|
349
350
|
DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
|
|
350
351
|
DebugBreakpoint: typeof api$DebugBreakpoint,
|
|
351
352
|
DotReplit: typeof api$DotReplit,
|
|
353
|
+
DotReplitEnvVar: typeof api$DotReplitEnvVar,
|
|
352
354
|
DotReplitPort: typeof api$DotReplitPort,
|
|
353
355
|
DotReplitHint: typeof api$DotReplitHint,
|
|
354
356
|
GitHubImportConfig: typeof api$GitHubImportConfig,
|
|
@@ -6306,7 +6308,12 @@ declare var api$FileEvent$Op: {|
|
|
|
6306
6308
|
/**
|
|
6307
6309
|
* Properties of a Flush.
|
|
6308
6310
|
*/
|
|
6309
|
-
declare type api$IFlush = {
|
|
6311
|
+
declare type api$IFlush = {|
|
|
6312
|
+
/**
|
|
6313
|
+
* Flush consistency
|
|
6314
|
+
*/
|
|
6315
|
+
consistency?: $Values<typeof api$Flush$Consistency> | null,
|
|
6316
|
+
|};
|
|
6310
6317
|
|
|
6311
6318
|
/**
|
|
6312
6319
|
* Represents a Flush.
|
|
@@ -6318,6 +6325,11 @@ declare class api$Flush {
|
|
|
6318
6325
|
*/
|
|
6319
6326
|
constructor(properties?: api$IFlush): this;
|
|
6320
6327
|
|
|
6328
|
+
/**
|
|
6329
|
+
* Flush consistency.
|
|
6330
|
+
*/
|
|
6331
|
+
consistency: $Values<typeof api$Flush$Consistency>;
|
|
6332
|
+
|
|
6321
6333
|
/**
|
|
6322
6334
|
* Creates a new Flush instance using the specified properties.
|
|
6323
6335
|
* @param [properties] Properties to set
|
|
@@ -6407,8 +6419,18 @@ declare class api$Flush {
|
|
|
6407
6419
|
toJSON(): {|
|
|
6408
6420
|
[k: string]: any,
|
|
6409
6421
|
|};
|
|
6422
|
+
static Consistency: typeof api$Flush$Consistency;
|
|
6410
6423
|
}
|
|
6411
6424
|
|
|
6425
|
+
/**
|
|
6426
|
+
* Consistency enum.
|
|
6427
|
+
*/
|
|
6428
|
+
|
|
6429
|
+
declare var api$Flush$Consistency: {|
|
|
6430
|
+
+PermanentStorage: 0, // 0
|
|
6431
|
+
+Disk: 1, // 1
|
|
6432
|
+
|};
|
|
6433
|
+
|
|
6412
6434
|
/**
|
|
6413
6435
|
* Properties of a OTLinkFile.
|
|
6414
6436
|
*/
|
|
@@ -15026,6 +15048,21 @@ declare type api$IUser = {|
|
|
|
15026
15048
|
* User teams
|
|
15027
15049
|
*/
|
|
15028
15050
|
teams?: string[] | null,
|
|
15051
|
+
|
|
15052
|
+
/**
|
|
15053
|
+
* User bio
|
|
15054
|
+
*/
|
|
15055
|
+
bio?: string | null,
|
|
15056
|
+
|
|
15057
|
+
/**
|
|
15058
|
+
* User url
|
|
15059
|
+
*/
|
|
15060
|
+
url?: string | null,
|
|
15061
|
+
|
|
15062
|
+
/**
|
|
15063
|
+
* User profileImage
|
|
15064
|
+
*/
|
|
15065
|
+
profileImage?: string | null,
|
|
15029
15066
|
|};
|
|
15030
15067
|
|
|
15031
15068
|
/**
|
|
@@ -15063,6 +15100,21 @@ declare class api$User {
|
|
|
15063
15100
|
*/
|
|
15064
15101
|
teams: string[];
|
|
15065
15102
|
|
|
15103
|
+
/**
|
|
15104
|
+
* User bio.
|
|
15105
|
+
*/
|
|
15106
|
+
bio: string;
|
|
15107
|
+
|
|
15108
|
+
/**
|
|
15109
|
+
* User url.
|
|
15110
|
+
*/
|
|
15111
|
+
url: string;
|
|
15112
|
+
|
|
15113
|
+
/**
|
|
15114
|
+
* User profileImage.
|
|
15115
|
+
*/
|
|
15116
|
+
profileImage: string;
|
|
15117
|
+
|
|
15066
15118
|
/**
|
|
15067
15119
|
* Creates a new User instance using the specified properties.
|
|
15068
15120
|
* @param [properties] Properties to set
|
|
@@ -21676,6 +21728,11 @@ declare type api$IDotReplit = {|
|
|
|
21676
21728
|
* DotReplit ports
|
|
21677
21729
|
*/
|
|
21678
21730
|
ports?: (api$DotReplitPort | api$IDotReplitPort)[] | null,
|
|
21731
|
+
|
|
21732
|
+
/**
|
|
21733
|
+
* DotReplit orderedEnv
|
|
21734
|
+
*/
|
|
21735
|
+
orderedEnv?: (api$DotReplitEnvVar | api$IDotReplitEnvVar)[] | null,
|
|
21679
21736
|
|};
|
|
21680
21737
|
|
|
21681
21738
|
/**
|
|
@@ -21787,6 +21844,11 @@ declare class api$DotReplit {
|
|
|
21787
21844
|
*/
|
|
21788
21845
|
ports: api$DotReplitPort[];
|
|
21789
21846
|
|
|
21847
|
+
/**
|
|
21848
|
+
* DotReplit orderedEnv.
|
|
21849
|
+
*/
|
|
21850
|
+
orderedEnv: api$DotReplitEnvVar[];
|
|
21851
|
+
|
|
21790
21852
|
/**
|
|
21791
21853
|
* Creates a new DotReplit instance using the specified properties.
|
|
21792
21854
|
* @param [properties] Properties to set
|
|
@@ -21878,6 +21940,134 @@ declare class api$DotReplit {
|
|
|
21878
21940
|
|};
|
|
21879
21941
|
}
|
|
21880
21942
|
|
|
21943
|
+
/**
|
|
21944
|
+
* Properties of a DotReplitEnvVar.
|
|
21945
|
+
*/
|
|
21946
|
+
declare type api$IDotReplitEnvVar = {|
|
|
21947
|
+
/**
|
|
21948
|
+
* DotReplitEnvVar key
|
|
21949
|
+
*/
|
|
21950
|
+
key?: string | null,
|
|
21951
|
+
|
|
21952
|
+
/**
|
|
21953
|
+
* DotReplitEnvVar value
|
|
21954
|
+
*/
|
|
21955
|
+
value?: string | null,
|
|
21956
|
+
|};
|
|
21957
|
+
|
|
21958
|
+
/**
|
|
21959
|
+
* Represents a DotReplitEnvVar.
|
|
21960
|
+
*/
|
|
21961
|
+
declare class api$DotReplitEnvVar {
|
|
21962
|
+
/**
|
|
21963
|
+
* Constructs a new DotReplitEnvVar.
|
|
21964
|
+
* @param [properties] Properties to set
|
|
21965
|
+
*/
|
|
21966
|
+
constructor(properties?: api$IDotReplitEnvVar): this;
|
|
21967
|
+
|
|
21968
|
+
/**
|
|
21969
|
+
* DotReplitEnvVar key.
|
|
21970
|
+
*/
|
|
21971
|
+
key: string;
|
|
21972
|
+
|
|
21973
|
+
/**
|
|
21974
|
+
* DotReplitEnvVar value.
|
|
21975
|
+
*/
|
|
21976
|
+
value: string;
|
|
21977
|
+
|
|
21978
|
+
/**
|
|
21979
|
+
* Creates a new DotReplitEnvVar instance using the specified properties.
|
|
21980
|
+
* @param [properties] Properties to set
|
|
21981
|
+
* @returns DotReplitEnvVar instance
|
|
21982
|
+
*/
|
|
21983
|
+
static create(properties?: api$IDotReplitEnvVar): api$DotReplitEnvVar;
|
|
21984
|
+
|
|
21985
|
+
/**
|
|
21986
|
+
* [object Object],[object Object],[object Object]
|
|
21987
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
21988
|
+
* @param [writer] Writer to encode to
|
|
21989
|
+
* @returns Writer
|
|
21990
|
+
*/
|
|
21991
|
+
static encode(
|
|
21992
|
+
message: api$DotReplitEnvVar,
|
|
21993
|
+
writer?: $protobuf.Writer
|
|
21994
|
+
): $protobuf.Writer;
|
|
21995
|
+
|
|
21996
|
+
/**
|
|
21997
|
+
* [object Object],[object Object],[object Object]
|
|
21998
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
21999
|
+
* @param [writer] Writer to encode to
|
|
22000
|
+
* @returns Writer
|
|
22001
|
+
*/
|
|
22002
|
+
static encodeDelimited(
|
|
22003
|
+
message: api$DotReplitEnvVar,
|
|
22004
|
+
writer?: $protobuf.Writer
|
|
22005
|
+
): $protobuf.Writer;
|
|
22006
|
+
|
|
22007
|
+
/**
|
|
22008
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer.
|
|
22009
|
+
* @param reader Reader or buffer to decode from
|
|
22010
|
+
* @param [length] Message length if known beforehand
|
|
22011
|
+
* @returns DotReplitEnvVar
|
|
22012
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22013
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22014
|
+
*/
|
|
22015
|
+
static decode(
|
|
22016
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
22017
|
+
length?: number
|
|
22018
|
+
): api$DotReplitEnvVar;
|
|
22019
|
+
|
|
22020
|
+
/**
|
|
22021
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
|
|
22022
|
+
* @param reader Reader or buffer to decode from
|
|
22023
|
+
* @returns DotReplitEnvVar
|
|
22024
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22025
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22026
|
+
*/
|
|
22027
|
+
static decodeDelimited(
|
|
22028
|
+
reader: $protobuf.Reader | Uint8Array
|
|
22029
|
+
): api$DotReplitEnvVar;
|
|
22030
|
+
|
|
22031
|
+
/**
|
|
22032
|
+
* Verifies a DotReplitEnvVar message.
|
|
22033
|
+
* @param message Plain object to verify
|
|
22034
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22035
|
+
*/
|
|
22036
|
+
static verify(message: {|
|
|
22037
|
+
[k: string]: any,
|
|
22038
|
+
|}): string | null;
|
|
22039
|
+
|
|
22040
|
+
/**
|
|
22041
|
+
* Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
|
|
22042
|
+
* @param object Plain object
|
|
22043
|
+
* @returns DotReplitEnvVar
|
|
22044
|
+
*/
|
|
22045
|
+
static fromObject(object: {|
|
|
22046
|
+
[k: string]: any,
|
|
22047
|
+
|}): api$DotReplitEnvVar;
|
|
22048
|
+
|
|
22049
|
+
/**
|
|
22050
|
+
* Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
|
|
22051
|
+
* @param message DotReplitEnvVar
|
|
22052
|
+
* @param [options] Conversion options
|
|
22053
|
+
* @returns Plain object
|
|
22054
|
+
*/
|
|
22055
|
+
static toObject(
|
|
22056
|
+
message: api$DotReplitEnvVar,
|
|
22057
|
+
options?: $protobuf.IConversionOptions
|
|
22058
|
+
): {|
|
|
22059
|
+
[k: string]: any,
|
|
22060
|
+
|};
|
|
22061
|
+
|
|
22062
|
+
/**
|
|
22063
|
+
* Converts this DotReplitEnvVar to JSON.
|
|
22064
|
+
* @returns JSON object
|
|
22065
|
+
*/
|
|
22066
|
+
toJSON(): {|
|
|
22067
|
+
[k: string]: any,
|
|
22068
|
+
|};
|
|
22069
|
+
}
|
|
22070
|
+
|
|
21881
22071
|
/**
|
|
21882
22072
|
* Properties of a DotReplitPort.
|
|
21883
22073
|
*/
|
|
@@ -22501,9 +22691,34 @@ declare class api$HostingConfig {
|
|
|
22501
22691
|
*/
|
|
22502
22692
|
declare type api$IAuthConfig = {|
|
|
22503
22693
|
/**
|
|
22504
|
-
* AuthConfig
|
|
22694
|
+
* AuthConfig pageEnabled
|
|
22505
22695
|
*/
|
|
22506
|
-
|
|
22696
|
+
pageEnabled?: boolean | null,
|
|
22697
|
+
|
|
22698
|
+
/**
|
|
22699
|
+
* AuthConfig pageTitle
|
|
22700
|
+
*/
|
|
22701
|
+
pageTitle?: string | null,
|
|
22702
|
+
|
|
22703
|
+
/**
|
|
22704
|
+
* AuthConfig pageDescription
|
|
22705
|
+
*/
|
|
22706
|
+
pageDescription?: string | null,
|
|
22707
|
+
|
|
22708
|
+
/**
|
|
22709
|
+
* AuthConfig pageColor
|
|
22710
|
+
*/
|
|
22711
|
+
pageColor?: string | null,
|
|
22712
|
+
|
|
22713
|
+
/**
|
|
22714
|
+
* AuthConfig pageImage
|
|
22715
|
+
*/
|
|
22716
|
+
pageImage?: string | null,
|
|
22717
|
+
|
|
22718
|
+
/**
|
|
22719
|
+
* AuthConfig buttonEnabled
|
|
22720
|
+
*/
|
|
22721
|
+
buttonEnabled?: boolean | null,
|
|
22507
22722
|
|};
|
|
22508
22723
|
|
|
22509
22724
|
/**
|
|
@@ -22517,9 +22732,34 @@ declare class api$AuthConfig {
|
|
|
22517
22732
|
constructor(properties?: api$IAuthConfig): this;
|
|
22518
22733
|
|
|
22519
22734
|
/**
|
|
22520
|
-
* AuthConfig
|
|
22735
|
+
* AuthConfig pageEnabled.
|
|
22736
|
+
*/
|
|
22737
|
+
pageEnabled: boolean;
|
|
22738
|
+
|
|
22739
|
+
/**
|
|
22740
|
+
* AuthConfig pageTitle.
|
|
22741
|
+
*/
|
|
22742
|
+
pageTitle: string;
|
|
22743
|
+
|
|
22744
|
+
/**
|
|
22745
|
+
* AuthConfig pageDescription.
|
|
22746
|
+
*/
|
|
22747
|
+
pageDescription: string;
|
|
22748
|
+
|
|
22749
|
+
/**
|
|
22750
|
+
* AuthConfig pageColor.
|
|
22751
|
+
*/
|
|
22752
|
+
pageColor: string;
|
|
22753
|
+
|
|
22754
|
+
/**
|
|
22755
|
+
* AuthConfig pageImage.
|
|
22756
|
+
*/
|
|
22757
|
+
pageImage: string;
|
|
22758
|
+
|
|
22759
|
+
/**
|
|
22760
|
+
* AuthConfig buttonEnabled.
|
|
22521
22761
|
*/
|
|
22522
|
-
|
|
22762
|
+
buttonEnabled: boolean;
|
|
22523
22763
|
|
|
22524
22764
|
/**
|
|
22525
22765
|
* Creates a new AuthConfig instance using the specified properties.
|