@replit/protocol 0.4.8 → 0.4.9
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 +9 -20
- package/main/index.d.ts +133 -24
- package/main/index.js +419 -93
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
|
-
# Developing
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
cd goval
|
|
6
|
-
# checkout your branch with api protocol changes
|
|
7
|
-
cd $REPL_HOME/goval/api/npm
|
|
8
|
-
npm run build
|
|
9
|
-
cd $REPL_HOME
|
|
10
|
-
```
|
|
1
|
+
# Developing
|
|
2
|
+
* Change goval/api/types.proto
|
|
3
|
+
* In this directory:
|
|
4
|
+
* `npm run build`
|
|
11
5
|
* Change repl-it-web/package.json:
|
|
12
6
|
```
|
|
13
|
-
"@replit/protocol": "^0.
|
|
7
|
+
"@replit/protocol": "^0.4.9",
|
|
14
8
|
```
|
|
15
9
|
to
|
|
16
10
|
```
|
|
17
|
-
"@replit/protocol": "
|
|
11
|
+
"@replit/protocol": "file:../goval/api/npm",
|
|
18
12
|
```
|
|
19
|
-
|
|
20
|
-
# Developing
|
|
21
|
-
* Change goval/api/types.proto
|
|
22
|
-
* In this directory:
|
|
23
|
-
* `npm run build`
|
|
24
|
-
* Change repl-it-web/package.json:
|
|
13
|
+
* Also change repl-it-web/shared/package.json:
|
|
25
14
|
```
|
|
26
|
-
"@replit/protocol": "^0.
|
|
15
|
+
"@replit/protocol": "^0.4.9",
|
|
27
16
|
```
|
|
28
17
|
to
|
|
29
18
|
```
|
|
30
|
-
"@replit/protocol": "
|
|
19
|
+
"@replit/protocol": "file:../../goval/api/npm",
|
|
31
20
|
```
|
|
32
21
|
|
|
33
22
|
# Publishing
|
package/main/index.d.ts
CHANGED
|
@@ -1908,6 +1908,15 @@ export namespace replit {
|
|
|
1908
1908
|
|
|
1909
1909
|
/** NixPackage present */
|
|
1910
1910
|
present?: (boolean|null);
|
|
1911
|
+
|
|
1912
|
+
/** NixPackage storePaths */
|
|
1913
|
+
storePaths?: ({ [k: string]: string }|null);
|
|
1914
|
+
|
|
1915
|
+
/** NixPackage propagatedBuildInputs */
|
|
1916
|
+
propagatedBuildInputs?: (string[]|null);
|
|
1917
|
+
|
|
1918
|
+
/** NixPackage propagatedNativeBuildInputs */
|
|
1919
|
+
propagatedNativeBuildInputs?: (string[]|null);
|
|
1911
1920
|
}
|
|
1912
1921
|
|
|
1913
1922
|
/** Represents a NixPackage. */
|
|
@@ -1940,6 +1949,15 @@ export namespace replit {
|
|
|
1940
1949
|
/** NixPackage present. */
|
|
1941
1950
|
public present: boolean;
|
|
1942
1951
|
|
|
1952
|
+
/** NixPackage storePaths. */
|
|
1953
|
+
public storePaths: { [k: string]: string };
|
|
1954
|
+
|
|
1955
|
+
/** NixPackage propagatedBuildInputs. */
|
|
1956
|
+
public propagatedBuildInputs: string[];
|
|
1957
|
+
|
|
1958
|
+
/** NixPackage propagatedNativeBuildInputs. */
|
|
1959
|
+
public propagatedNativeBuildInputs: string[];
|
|
1960
|
+
|
|
1943
1961
|
/**
|
|
1944
1962
|
* Creates a new NixPackage instance using the specified properties.
|
|
1945
1963
|
* @param [properties] Properties to set
|
|
@@ -20301,6 +20319,103 @@ export namespace replit {
|
|
|
20301
20319
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20302
20320
|
}
|
|
20303
20321
|
|
|
20322
|
+
/** Properties of an InterpConfig. */
|
|
20323
|
+
interface IInterpConfig {
|
|
20324
|
+
|
|
20325
|
+
/** InterpConfig command */
|
|
20326
|
+
command?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
20327
|
+
}
|
|
20328
|
+
|
|
20329
|
+
/** Represents an InterpConfig. */
|
|
20330
|
+
class InterpConfig {
|
|
20331
|
+
|
|
20332
|
+
/**
|
|
20333
|
+
* Constructs a new InterpConfig.
|
|
20334
|
+
* @param [properties] Properties to set
|
|
20335
|
+
*/
|
|
20336
|
+
private constructor(properties?: replit.goval.api.IInterpConfig);
|
|
20337
|
+
|
|
20338
|
+
/** InterpConfig command. */
|
|
20339
|
+
public command?: (replit.goval.api.Exec|null);
|
|
20340
|
+
|
|
20341
|
+
/**
|
|
20342
|
+
* Creates a new InterpConfig instance using the specified properties.
|
|
20343
|
+
* @param [properties] Properties to set
|
|
20344
|
+
* @returns InterpConfig instance
|
|
20345
|
+
*/
|
|
20346
|
+
public static create(properties?: replit.goval.api.IInterpConfig): replit.goval.api.InterpConfig;
|
|
20347
|
+
|
|
20348
|
+
/**
|
|
20349
|
+
* Encodes the specified InterpConfig message. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
20350
|
+
* @param message InterpConfig message or plain object to encode
|
|
20351
|
+
* @param [writer] Writer to encode to
|
|
20352
|
+
* @returns Writer
|
|
20353
|
+
*/
|
|
20354
|
+
public static encode(message: replit.goval.api.InterpConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20355
|
+
|
|
20356
|
+
/**
|
|
20357
|
+
* Encodes the specified InterpConfig message, length delimited. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
20358
|
+
* @param message InterpConfig message or plain object to encode
|
|
20359
|
+
* @param [writer] Writer to encode to
|
|
20360
|
+
* @returns Writer
|
|
20361
|
+
*/
|
|
20362
|
+
public static encodeDelimited(message: replit.goval.api.InterpConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20363
|
+
|
|
20364
|
+
/**
|
|
20365
|
+
* Decodes an InterpConfig message from the specified reader or buffer.
|
|
20366
|
+
* @param reader Reader or buffer to decode from
|
|
20367
|
+
* @param [length] Message length if known beforehand
|
|
20368
|
+
* @returns InterpConfig
|
|
20369
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20370
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20371
|
+
*/
|
|
20372
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.InterpConfig;
|
|
20373
|
+
|
|
20374
|
+
/**
|
|
20375
|
+
* Decodes an InterpConfig message from the specified reader or buffer, length delimited.
|
|
20376
|
+
* @param reader Reader or buffer to decode from
|
|
20377
|
+
* @returns InterpConfig
|
|
20378
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20379
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20380
|
+
*/
|
|
20381
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.InterpConfig;
|
|
20382
|
+
|
|
20383
|
+
/**
|
|
20384
|
+
* Verifies an InterpConfig message.
|
|
20385
|
+
* @param message Plain object to verify
|
|
20386
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20387
|
+
*/
|
|
20388
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20389
|
+
|
|
20390
|
+
/**
|
|
20391
|
+
* Creates an InterpConfig message from a plain object. Also converts values to their respective internal types.
|
|
20392
|
+
* @param object Plain object
|
|
20393
|
+
* @returns InterpConfig
|
|
20394
|
+
*/
|
|
20395
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.InterpConfig;
|
|
20396
|
+
|
|
20397
|
+
/**
|
|
20398
|
+
* Creates a plain object from an InterpConfig message. Also converts values to other types if specified.
|
|
20399
|
+
* @param message InterpConfig
|
|
20400
|
+
* @param [options] Conversion options
|
|
20401
|
+
* @returns Plain object
|
|
20402
|
+
*/
|
|
20403
|
+
public static toObject(message: replit.goval.api.InterpConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20404
|
+
|
|
20405
|
+
/**
|
|
20406
|
+
* Converts this InterpConfig to JSON.
|
|
20407
|
+
* @returns JSON object
|
|
20408
|
+
*/
|
|
20409
|
+
public toJSON(): { [k: string]: any };
|
|
20410
|
+
|
|
20411
|
+
/**
|
|
20412
|
+
* Gets the default type url for InterpConfig
|
|
20413
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20414
|
+
* @returns The default type url
|
|
20415
|
+
*/
|
|
20416
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20417
|
+
}
|
|
20418
|
+
|
|
20304
20419
|
/** Properties of a DapConfig. */
|
|
20305
20420
|
interface IDapConfig {
|
|
20306
20421
|
|
|
@@ -24445,6 +24560,9 @@ export namespace replit {
|
|
|
24445
24560
|
|
|
24446
24561
|
/** RunOption defaultEntrypoints */
|
|
24447
24562
|
defaultEntrypoints?: (string[]|null);
|
|
24563
|
+
|
|
24564
|
+
/** RunOption interp */
|
|
24565
|
+
interp?: (replit.goval.api.InterpConfig|replit.goval.api.IInterpConfig|null);
|
|
24448
24566
|
}
|
|
24449
24567
|
|
|
24450
24568
|
/** Represents a RunOption. */
|
|
@@ -24489,6 +24607,9 @@ export namespace replit {
|
|
|
24489
24607
|
/** RunOption defaultEntrypoints. */
|
|
24490
24608
|
public defaultEntrypoints: string[];
|
|
24491
24609
|
|
|
24610
|
+
/** RunOption interp. */
|
|
24611
|
+
public interp?: (replit.goval.api.InterpConfig|null);
|
|
24612
|
+
|
|
24492
24613
|
/**
|
|
24493
24614
|
* Creates a new RunOption instance using the specified properties.
|
|
24494
24615
|
* @param [properties] Properties to set
|
|
@@ -31009,9 +31130,6 @@ export namespace replit {
|
|
|
31009
31130
|
|
|
31010
31131
|
/** Repl user */
|
|
31011
31132
|
user?: (string|null);
|
|
31012
|
-
|
|
31013
|
-
/** Repl slug */
|
|
31014
|
-
slug?: (string|null);
|
|
31015
31133
|
}
|
|
31016
31134
|
|
|
31017
31135
|
/** Represents a Repl. */
|
|
@@ -31029,9 +31147,6 @@ export namespace replit {
|
|
|
31029
31147
|
/** Repl user. */
|
|
31030
31148
|
public user: string;
|
|
31031
31149
|
|
|
31032
|
-
/** Repl slug. */
|
|
31033
|
-
public slug: string;
|
|
31034
|
-
|
|
31035
31150
|
/**
|
|
31036
31151
|
* Creates a new Repl instance using the specified properties.
|
|
31037
31152
|
* @param [properties] Properties to set
|
|
@@ -31121,6 +31236,9 @@ export namespace replit {
|
|
|
31121
31236
|
|
|
31122
31237
|
/** Cluster gurl */
|
|
31123
31238
|
gurl?: (string|null);
|
|
31239
|
+
|
|
31240
|
+
/** Cluster noxHost */
|
|
31241
|
+
noxHost?: (string|null);
|
|
31124
31242
|
}
|
|
31125
31243
|
|
|
31126
31244
|
/** Represents a Cluster. */
|
|
@@ -31141,6 +31259,9 @@ export namespace replit {
|
|
|
31141
31259
|
/** Cluster gurl. */
|
|
31142
31260
|
public gurl: string;
|
|
31143
31261
|
|
|
31262
|
+
/** Cluster noxHost. */
|
|
31263
|
+
public noxHost: string;
|
|
31264
|
+
|
|
31144
31265
|
/**
|
|
31145
31266
|
* Creates a new Cluster instance using the specified properties.
|
|
31146
31267
|
* @param [properties] Properties to set
|
|
@@ -31368,9 +31489,6 @@ export namespace replit {
|
|
|
31368
31489
|
|
|
31369
31490
|
/** Repl user */
|
|
31370
31491
|
user?: (string|null);
|
|
31371
|
-
|
|
31372
|
-
/** Repl slug */
|
|
31373
|
-
slug?: (string|null);
|
|
31374
31492
|
}
|
|
31375
31493
|
|
|
31376
31494
|
/** Represents a Repl. */
|
|
@@ -31388,9 +31506,6 @@ export namespace replit {
|
|
|
31388
31506
|
/** Repl user. */
|
|
31389
31507
|
public user: string;
|
|
31390
31508
|
|
|
31391
|
-
/** Repl slug. */
|
|
31392
|
-
public slug: string;
|
|
31393
|
-
|
|
31394
31509
|
/**
|
|
31395
31510
|
* Creates a new Repl instance using the specified properties.
|
|
31396
31511
|
* @param [properties] Properties to set
|
|
@@ -32303,9 +32418,6 @@ export namespace replit {
|
|
|
32303
32418
|
/** GetReplConnectionInfoRequest replId */
|
|
32304
32419
|
replId?: (string|null);
|
|
32305
32420
|
|
|
32306
|
-
/** GetReplConnectionInfoRequest slug */
|
|
32307
|
-
slug?: (string|null);
|
|
32308
|
-
|
|
32309
32421
|
/** GetReplConnectionInfoRequest user */
|
|
32310
32422
|
user?: (string|null);
|
|
32311
32423
|
|
|
@@ -32337,9 +32449,6 @@ export namespace replit {
|
|
|
32337
32449
|
/** GetReplConnectionInfoRequest replId. */
|
|
32338
32450
|
public replId: string;
|
|
32339
32451
|
|
|
32340
|
-
/** GetReplConnectionInfoRequest slug. */
|
|
32341
|
-
public slug: string;
|
|
32342
|
-
|
|
32343
32452
|
/** GetReplConnectionInfoRequest user. */
|
|
32344
32453
|
public user: string;
|
|
32345
32454
|
|
|
@@ -35018,9 +35127,6 @@ export namespace replit {
|
|
|
35018
35127
|
/** ImportReplRequest username */
|
|
35019
35128
|
username?: (string|null);
|
|
35020
35129
|
|
|
35021
|
-
/** ImportReplRequest slug */
|
|
35022
|
-
slug?: (string|null);
|
|
35023
|
-
|
|
35024
35130
|
/** ImportReplRequest replLocation */
|
|
35025
35131
|
replLocation?: (replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null);
|
|
35026
35132
|
|
|
@@ -35043,9 +35149,6 @@ export namespace replit {
|
|
|
35043
35149
|
/** ImportReplRequest username. */
|
|
35044
35150
|
public username: string;
|
|
35045
35151
|
|
|
35046
|
-
/** ImportReplRequest slug. */
|
|
35047
|
-
public slug: string;
|
|
35048
|
-
|
|
35049
35152
|
/** ImportReplRequest replLocation. */
|
|
35050
35153
|
public replLocation?: (replit.goval.api.lore.ReplLocation|null);
|
|
35051
35154
|
|
|
@@ -36009,6 +36112,9 @@ export namespace replit {
|
|
|
36009
36112
|
|
|
36010
36113
|
/** Repl logFields */
|
|
36011
36114
|
logFields?: (string|null);
|
|
36115
|
+
|
|
36116
|
+
/** Repl useReplShield */
|
|
36117
|
+
useReplShield?: (boolean|null);
|
|
36012
36118
|
}
|
|
36013
36119
|
|
|
36014
36120
|
/** Represents a Repl. */
|
|
@@ -36059,6 +36165,9 @@ export namespace replit {
|
|
|
36059
36165
|
/** Repl logFields. */
|
|
36060
36166
|
public logFields: string;
|
|
36061
36167
|
|
|
36168
|
+
/** Repl useReplShield. */
|
|
36169
|
+
public useReplShield: boolean;
|
|
36170
|
+
|
|
36062
36171
|
/**
|
|
36063
36172
|
* Creates a new Repl instance using the specified properties.
|
|
36064
36173
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -8452,6 +8452,9 @@
|
|
|
8452
8452
|
* @property {Array.<string>|null} [maintainers] NixPackage maintainers
|
|
8453
8453
|
* @property {Array.<string>|null} [licenses] NixPackage licenses
|
|
8454
8454
|
* @property {boolean|null} [present] NixPackage present
|
|
8455
|
+
* @property {Object.<string,string>|null} [storePaths] NixPackage storePaths
|
|
8456
|
+
* @property {Array.<string>|null} [propagatedBuildInputs] NixPackage propagatedBuildInputs
|
|
8457
|
+
* @property {Array.<string>|null} [propagatedNativeBuildInputs] NixPackage propagatedNativeBuildInputs
|
|
8455
8458
|
*/
|
|
8456
8459
|
|
|
8457
8460
|
/**
|
|
@@ -8465,6 +8468,9 @@
|
|
|
8465
8468
|
this.homepageURL = [];
|
|
8466
8469
|
this.maintainers = [];
|
|
8467
8470
|
this.licenses = [];
|
|
8471
|
+
this.storePaths = {};
|
|
8472
|
+
this.propagatedBuildInputs = [];
|
|
8473
|
+
this.propagatedNativeBuildInputs = [];
|
|
8468
8474
|
if (properties)
|
|
8469
8475
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
8470
8476
|
if (properties[keys[i]] != null)
|
|
@@ -8527,6 +8533,30 @@
|
|
|
8527
8533
|
*/
|
|
8528
8534
|
NixPackage.prototype.present = false;
|
|
8529
8535
|
|
|
8536
|
+
/**
|
|
8537
|
+
* NixPackage storePaths.
|
|
8538
|
+
* @member {Object.<string,string>} storePaths
|
|
8539
|
+
* @memberof replit.goval.api.NixPackage
|
|
8540
|
+
* @instance
|
|
8541
|
+
*/
|
|
8542
|
+
NixPackage.prototype.storePaths = $util.emptyObject;
|
|
8543
|
+
|
|
8544
|
+
/**
|
|
8545
|
+
* NixPackage propagatedBuildInputs.
|
|
8546
|
+
* @member {Array.<string>} propagatedBuildInputs
|
|
8547
|
+
* @memberof replit.goval.api.NixPackage
|
|
8548
|
+
* @instance
|
|
8549
|
+
*/
|
|
8550
|
+
NixPackage.prototype.propagatedBuildInputs = $util.emptyArray;
|
|
8551
|
+
|
|
8552
|
+
/**
|
|
8553
|
+
* NixPackage propagatedNativeBuildInputs.
|
|
8554
|
+
* @member {Array.<string>} propagatedNativeBuildInputs
|
|
8555
|
+
* @memberof replit.goval.api.NixPackage
|
|
8556
|
+
* @instance
|
|
8557
|
+
*/
|
|
8558
|
+
NixPackage.prototype.propagatedNativeBuildInputs = $util.emptyArray;
|
|
8559
|
+
|
|
8530
8560
|
/**
|
|
8531
8561
|
* Creates a new NixPackage instance using the specified properties.
|
|
8532
8562
|
* @function create
|
|
@@ -8568,6 +8598,15 @@
|
|
|
8568
8598
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.licenses[i]);
|
|
8569
8599
|
if (message.present != null && Object.hasOwnProperty.call(message, "present"))
|
|
8570
8600
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.present);
|
|
8601
|
+
if (message.storePaths != null && Object.hasOwnProperty.call(message, "storePaths"))
|
|
8602
|
+
for (var keys = Object.keys(message.storePaths), i = 0; i < keys.length; ++i)
|
|
8603
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.storePaths[keys[i]]).ldelim();
|
|
8604
|
+
if (message.propagatedBuildInputs != null && message.propagatedBuildInputs.length)
|
|
8605
|
+
for (var i = 0; i < message.propagatedBuildInputs.length; ++i)
|
|
8606
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.propagatedBuildInputs[i]);
|
|
8607
|
+
if (message.propagatedNativeBuildInputs != null && message.propagatedNativeBuildInputs.length)
|
|
8608
|
+
for (var i = 0; i < message.propagatedNativeBuildInputs.length; ++i)
|
|
8609
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.propagatedNativeBuildInputs[i]);
|
|
8571
8610
|
return writer;
|
|
8572
8611
|
};
|
|
8573
8612
|
|
|
@@ -8598,7 +8637,7 @@
|
|
|
8598
8637
|
NixPackage.decode = function decode(reader, length) {
|
|
8599
8638
|
if (!(reader instanceof $Reader))
|
|
8600
8639
|
reader = $Reader.create(reader);
|
|
8601
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixPackage();
|
|
8640
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixPackage(), key, value;
|
|
8602
8641
|
while (reader.pos < end) {
|
|
8603
8642
|
var tag = reader.uint32();
|
|
8604
8643
|
switch (tag >>> 3) {
|
|
@@ -8636,6 +8675,41 @@
|
|
|
8636
8675
|
message.present = reader.bool();
|
|
8637
8676
|
break;
|
|
8638
8677
|
}
|
|
8678
|
+
case 8: {
|
|
8679
|
+
if (message.storePaths === $util.emptyObject)
|
|
8680
|
+
message.storePaths = {};
|
|
8681
|
+
var end2 = reader.uint32() + reader.pos;
|
|
8682
|
+
key = "";
|
|
8683
|
+
value = "";
|
|
8684
|
+
while (reader.pos < end2) {
|
|
8685
|
+
var tag2 = reader.uint32();
|
|
8686
|
+
switch (tag2 >>> 3) {
|
|
8687
|
+
case 1:
|
|
8688
|
+
key = reader.string();
|
|
8689
|
+
break;
|
|
8690
|
+
case 2:
|
|
8691
|
+
value = reader.string();
|
|
8692
|
+
break;
|
|
8693
|
+
default:
|
|
8694
|
+
reader.skipType(tag2 & 7);
|
|
8695
|
+
break;
|
|
8696
|
+
}
|
|
8697
|
+
}
|
|
8698
|
+
message.storePaths[key] = value;
|
|
8699
|
+
break;
|
|
8700
|
+
}
|
|
8701
|
+
case 9: {
|
|
8702
|
+
if (!(message.propagatedBuildInputs && message.propagatedBuildInputs.length))
|
|
8703
|
+
message.propagatedBuildInputs = [];
|
|
8704
|
+
message.propagatedBuildInputs.push(reader.string());
|
|
8705
|
+
break;
|
|
8706
|
+
}
|
|
8707
|
+
case 10: {
|
|
8708
|
+
if (!(message.propagatedNativeBuildInputs && message.propagatedNativeBuildInputs.length))
|
|
8709
|
+
message.propagatedNativeBuildInputs = [];
|
|
8710
|
+
message.propagatedNativeBuildInputs.push(reader.string());
|
|
8711
|
+
break;
|
|
8712
|
+
}
|
|
8639
8713
|
default:
|
|
8640
8714
|
reader.skipType(tag & 7);
|
|
8641
8715
|
break;
|
|
@@ -8704,6 +8778,28 @@
|
|
|
8704
8778
|
if (message.present != null && message.hasOwnProperty("present"))
|
|
8705
8779
|
if (typeof message.present !== "boolean")
|
|
8706
8780
|
return "present: boolean expected";
|
|
8781
|
+
if (message.storePaths != null && message.hasOwnProperty("storePaths")) {
|
|
8782
|
+
if (!$util.isObject(message.storePaths))
|
|
8783
|
+
return "storePaths: object expected";
|
|
8784
|
+
var key = Object.keys(message.storePaths);
|
|
8785
|
+
for (var i = 0; i < key.length; ++i)
|
|
8786
|
+
if (!$util.isString(message.storePaths[key[i]]))
|
|
8787
|
+
return "storePaths: string{k:string} expected";
|
|
8788
|
+
}
|
|
8789
|
+
if (message.propagatedBuildInputs != null && message.hasOwnProperty("propagatedBuildInputs")) {
|
|
8790
|
+
if (!Array.isArray(message.propagatedBuildInputs))
|
|
8791
|
+
return "propagatedBuildInputs: array expected";
|
|
8792
|
+
for (var i = 0; i < message.propagatedBuildInputs.length; ++i)
|
|
8793
|
+
if (!$util.isString(message.propagatedBuildInputs[i]))
|
|
8794
|
+
return "propagatedBuildInputs: string[] expected";
|
|
8795
|
+
}
|
|
8796
|
+
if (message.propagatedNativeBuildInputs != null && message.hasOwnProperty("propagatedNativeBuildInputs")) {
|
|
8797
|
+
if (!Array.isArray(message.propagatedNativeBuildInputs))
|
|
8798
|
+
return "propagatedNativeBuildInputs: array expected";
|
|
8799
|
+
for (var i = 0; i < message.propagatedNativeBuildInputs.length; ++i)
|
|
8800
|
+
if (!$util.isString(message.propagatedNativeBuildInputs[i]))
|
|
8801
|
+
return "propagatedNativeBuildInputs: string[] expected";
|
|
8802
|
+
}
|
|
8707
8803
|
return null;
|
|
8708
8804
|
};
|
|
8709
8805
|
|
|
@@ -8748,6 +8844,27 @@
|
|
|
8748
8844
|
}
|
|
8749
8845
|
if (object.present != null)
|
|
8750
8846
|
message.present = Boolean(object.present);
|
|
8847
|
+
if (object.storePaths) {
|
|
8848
|
+
if (typeof object.storePaths !== "object")
|
|
8849
|
+
throw TypeError(".replit.goval.api.NixPackage.storePaths: object expected");
|
|
8850
|
+
message.storePaths = {};
|
|
8851
|
+
for (var keys = Object.keys(object.storePaths), i = 0; i < keys.length; ++i)
|
|
8852
|
+
message.storePaths[keys[i]] = String(object.storePaths[keys[i]]);
|
|
8853
|
+
}
|
|
8854
|
+
if (object.propagatedBuildInputs) {
|
|
8855
|
+
if (!Array.isArray(object.propagatedBuildInputs))
|
|
8856
|
+
throw TypeError(".replit.goval.api.NixPackage.propagatedBuildInputs: array expected");
|
|
8857
|
+
message.propagatedBuildInputs = [];
|
|
8858
|
+
for (var i = 0; i < object.propagatedBuildInputs.length; ++i)
|
|
8859
|
+
message.propagatedBuildInputs[i] = String(object.propagatedBuildInputs[i]);
|
|
8860
|
+
}
|
|
8861
|
+
if (object.propagatedNativeBuildInputs) {
|
|
8862
|
+
if (!Array.isArray(object.propagatedNativeBuildInputs))
|
|
8863
|
+
throw TypeError(".replit.goval.api.NixPackage.propagatedNativeBuildInputs: array expected");
|
|
8864
|
+
message.propagatedNativeBuildInputs = [];
|
|
8865
|
+
for (var i = 0; i < object.propagatedNativeBuildInputs.length; ++i)
|
|
8866
|
+
message.propagatedNativeBuildInputs[i] = String(object.propagatedNativeBuildInputs[i]);
|
|
8867
|
+
}
|
|
8751
8868
|
return message;
|
|
8752
8869
|
};
|
|
8753
8870
|
|
|
@@ -8768,7 +8885,11 @@
|
|
|
8768
8885
|
object.homepageURL = [];
|
|
8769
8886
|
object.maintainers = [];
|
|
8770
8887
|
object.licenses = [];
|
|
8888
|
+
object.propagatedBuildInputs = [];
|
|
8889
|
+
object.propagatedNativeBuildInputs = [];
|
|
8771
8890
|
}
|
|
8891
|
+
if (options.objects || options.defaults)
|
|
8892
|
+
object.storePaths = {};
|
|
8772
8893
|
if (options.defaults) {
|
|
8773
8894
|
object.name = "";
|
|
8774
8895
|
object.description = "";
|
|
@@ -8798,6 +8919,22 @@
|
|
|
8798
8919
|
}
|
|
8799
8920
|
if (message.present != null && message.hasOwnProperty("present"))
|
|
8800
8921
|
object.present = message.present;
|
|
8922
|
+
var keys2;
|
|
8923
|
+
if (message.storePaths && (keys2 = Object.keys(message.storePaths)).length) {
|
|
8924
|
+
object.storePaths = {};
|
|
8925
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
8926
|
+
object.storePaths[keys2[j]] = message.storePaths[keys2[j]];
|
|
8927
|
+
}
|
|
8928
|
+
if (message.propagatedBuildInputs && message.propagatedBuildInputs.length) {
|
|
8929
|
+
object.propagatedBuildInputs = [];
|
|
8930
|
+
for (var j = 0; j < message.propagatedBuildInputs.length; ++j)
|
|
8931
|
+
object.propagatedBuildInputs[j] = message.propagatedBuildInputs[j];
|
|
8932
|
+
}
|
|
8933
|
+
if (message.propagatedNativeBuildInputs && message.propagatedNativeBuildInputs.length) {
|
|
8934
|
+
object.propagatedNativeBuildInputs = [];
|
|
8935
|
+
for (var j = 0; j < message.propagatedNativeBuildInputs.length; ++j)
|
|
8936
|
+
object.propagatedNativeBuildInputs[j] = message.propagatedNativeBuildInputs[j];
|
|
8937
|
+
}
|
|
8801
8938
|
return object;
|
|
8802
8939
|
};
|
|
8803
8940
|
|
|
@@ -51686,6 +51823,213 @@
|
|
|
51686
51823
|
return RunConfig;
|
|
51687
51824
|
})();
|
|
51688
51825
|
|
|
51826
|
+
api.InterpConfig = (function() {
|
|
51827
|
+
|
|
51828
|
+
/**
|
|
51829
|
+
* Properties of an InterpConfig.
|
|
51830
|
+
* @memberof replit.goval.api
|
|
51831
|
+
* @interface IInterpConfig
|
|
51832
|
+
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [command] InterpConfig command
|
|
51833
|
+
*/
|
|
51834
|
+
|
|
51835
|
+
/**
|
|
51836
|
+
* Constructs a new InterpConfig.
|
|
51837
|
+
* @memberof replit.goval.api
|
|
51838
|
+
* @classdesc Represents an InterpConfig.
|
|
51839
|
+
* @constructor
|
|
51840
|
+
* @param {replit.goval.api.IInterpConfig=} [properties] Properties to set
|
|
51841
|
+
*/
|
|
51842
|
+
function InterpConfig(properties) {
|
|
51843
|
+
if (properties)
|
|
51844
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
51845
|
+
if (properties[keys[i]] != null)
|
|
51846
|
+
this[keys[i]] = properties[keys[i]];
|
|
51847
|
+
}
|
|
51848
|
+
|
|
51849
|
+
/**
|
|
51850
|
+
* InterpConfig command.
|
|
51851
|
+
* @member {replit.goval.api.Exec|null|undefined} command
|
|
51852
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51853
|
+
* @instance
|
|
51854
|
+
*/
|
|
51855
|
+
InterpConfig.prototype.command = null;
|
|
51856
|
+
|
|
51857
|
+
/**
|
|
51858
|
+
* Creates a new InterpConfig instance using the specified properties.
|
|
51859
|
+
* @function create
|
|
51860
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51861
|
+
* @static
|
|
51862
|
+
* @param {replit.goval.api.IInterpConfig=} [properties] Properties to set
|
|
51863
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig instance
|
|
51864
|
+
*/
|
|
51865
|
+
InterpConfig.create = function create(properties) {
|
|
51866
|
+
return InterpConfig.fromObject(properties);
|
|
51867
|
+
};
|
|
51868
|
+
|
|
51869
|
+
/**
|
|
51870
|
+
* Encodes the specified InterpConfig message. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
51871
|
+
* @function encode
|
|
51872
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51873
|
+
* @static
|
|
51874
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig message or plain object to encode
|
|
51875
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51876
|
+
* @returns {$protobuf.Writer} Writer
|
|
51877
|
+
*/
|
|
51878
|
+
InterpConfig.encode = function encode(message, writer) {
|
|
51879
|
+
if (!writer)
|
|
51880
|
+
writer = $Writer.create();
|
|
51881
|
+
if (message.command != null && Object.hasOwnProperty.call(message, "command"))
|
|
51882
|
+
$root.replit.goval.api.Exec.encode(message.command, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
51883
|
+
return writer;
|
|
51884
|
+
};
|
|
51885
|
+
|
|
51886
|
+
/**
|
|
51887
|
+
* Encodes the specified InterpConfig message, length delimited. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
51888
|
+
* @function encodeDelimited
|
|
51889
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51890
|
+
* @static
|
|
51891
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig message or plain object to encode
|
|
51892
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51893
|
+
* @returns {$protobuf.Writer} Writer
|
|
51894
|
+
*/
|
|
51895
|
+
InterpConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
51896
|
+
return this.encode(message, writer).ldelim();
|
|
51897
|
+
};
|
|
51898
|
+
|
|
51899
|
+
/**
|
|
51900
|
+
* Decodes an InterpConfig message from the specified reader or buffer.
|
|
51901
|
+
* @function decode
|
|
51902
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51903
|
+
* @static
|
|
51904
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51905
|
+
* @param {number} [length] Message length if known beforehand
|
|
51906
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51907
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51908
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51909
|
+
*/
|
|
51910
|
+
InterpConfig.decode = function decode(reader, length) {
|
|
51911
|
+
if (!(reader instanceof $Reader))
|
|
51912
|
+
reader = $Reader.create(reader);
|
|
51913
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.InterpConfig();
|
|
51914
|
+
while (reader.pos < end) {
|
|
51915
|
+
var tag = reader.uint32();
|
|
51916
|
+
switch (tag >>> 3) {
|
|
51917
|
+
case 1: {
|
|
51918
|
+
message.command = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
|
|
51919
|
+
break;
|
|
51920
|
+
}
|
|
51921
|
+
default:
|
|
51922
|
+
reader.skipType(tag & 7);
|
|
51923
|
+
break;
|
|
51924
|
+
}
|
|
51925
|
+
}
|
|
51926
|
+
return message;
|
|
51927
|
+
};
|
|
51928
|
+
|
|
51929
|
+
/**
|
|
51930
|
+
* Decodes an InterpConfig message from the specified reader or buffer, length delimited.
|
|
51931
|
+
* @function decodeDelimited
|
|
51932
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51933
|
+
* @static
|
|
51934
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51935
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51936
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51937
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51938
|
+
*/
|
|
51939
|
+
InterpConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
51940
|
+
if (!(reader instanceof $Reader))
|
|
51941
|
+
reader = new $Reader(reader);
|
|
51942
|
+
return this.decode(reader, reader.uint32());
|
|
51943
|
+
};
|
|
51944
|
+
|
|
51945
|
+
/**
|
|
51946
|
+
* Verifies an InterpConfig message.
|
|
51947
|
+
* @function verify
|
|
51948
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51949
|
+
* @static
|
|
51950
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
51951
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
51952
|
+
*/
|
|
51953
|
+
InterpConfig.verify = function verify(message) {
|
|
51954
|
+
if (typeof message !== "object" || message === null)
|
|
51955
|
+
return "object expected";
|
|
51956
|
+
if (message.command != null && message.hasOwnProperty("command")) {
|
|
51957
|
+
var error = $root.replit.goval.api.Exec.verify(message.command);
|
|
51958
|
+
if (error)
|
|
51959
|
+
return "command." + error;
|
|
51960
|
+
}
|
|
51961
|
+
return null;
|
|
51962
|
+
};
|
|
51963
|
+
|
|
51964
|
+
/**
|
|
51965
|
+
* Creates an InterpConfig message from a plain object. Also converts values to their respective internal types.
|
|
51966
|
+
* @function fromObject
|
|
51967
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51968
|
+
* @static
|
|
51969
|
+
* @param {Object.<string,*>} object Plain object
|
|
51970
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51971
|
+
*/
|
|
51972
|
+
InterpConfig.fromObject = function fromObject(object) {
|
|
51973
|
+
if (object instanceof $root.replit.goval.api.InterpConfig)
|
|
51974
|
+
return object;
|
|
51975
|
+
var message = new $root.replit.goval.api.InterpConfig();
|
|
51976
|
+
if (object.command != null) {
|
|
51977
|
+
if (typeof object.command !== "object")
|
|
51978
|
+
throw TypeError(".replit.goval.api.InterpConfig.command: object expected");
|
|
51979
|
+
message.command = $root.replit.goval.api.Exec.fromObject(object.command);
|
|
51980
|
+
}
|
|
51981
|
+
return message;
|
|
51982
|
+
};
|
|
51983
|
+
|
|
51984
|
+
/**
|
|
51985
|
+
* Creates a plain object from an InterpConfig message. Also converts values to other types if specified.
|
|
51986
|
+
* @function toObject
|
|
51987
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51988
|
+
* @static
|
|
51989
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig
|
|
51990
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
51991
|
+
* @returns {Object.<string,*>} Plain object
|
|
51992
|
+
*/
|
|
51993
|
+
InterpConfig.toObject = function toObject(message, options) {
|
|
51994
|
+
if (!options)
|
|
51995
|
+
options = {};
|
|
51996
|
+
var object = {};
|
|
51997
|
+
if (options.defaults)
|
|
51998
|
+
object.command = null;
|
|
51999
|
+
if (message.command != null && message.hasOwnProperty("command"))
|
|
52000
|
+
object.command = $root.replit.goval.api.Exec.toObject(message.command, options);
|
|
52001
|
+
return object;
|
|
52002
|
+
};
|
|
52003
|
+
|
|
52004
|
+
/**
|
|
52005
|
+
* Converts this InterpConfig to JSON.
|
|
52006
|
+
* @function toJSON
|
|
52007
|
+
* @memberof replit.goval.api.InterpConfig
|
|
52008
|
+
* @instance
|
|
52009
|
+
* @returns {Object.<string,*>} JSON object
|
|
52010
|
+
*/
|
|
52011
|
+
InterpConfig.prototype.toJSON = function toJSON() {
|
|
52012
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
52013
|
+
};
|
|
52014
|
+
|
|
52015
|
+
/**
|
|
52016
|
+
* Gets the default type url for InterpConfig
|
|
52017
|
+
* @function getTypeUrl
|
|
52018
|
+
* @memberof replit.goval.api.InterpConfig
|
|
52019
|
+
* @static
|
|
52020
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
52021
|
+
* @returns {string} The default type url
|
|
52022
|
+
*/
|
|
52023
|
+
InterpConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
52024
|
+
if (typeUrlPrefix === undefined) {
|
|
52025
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
52026
|
+
}
|
|
52027
|
+
return typeUrlPrefix + "/replit.goval.api.InterpConfig";
|
|
52028
|
+
};
|
|
52029
|
+
|
|
52030
|
+
return InterpConfig;
|
|
52031
|
+
})();
|
|
52032
|
+
|
|
51689
52033
|
api.DapConfig = (function() {
|
|
51690
52034
|
|
|
51691
52035
|
/**
|
|
@@ -61859,6 +62203,7 @@
|
|
|
61859
62203
|
* @property {replit.goval.api.CompileConfig|replit.goval.api.ICompileConfig|null} [compile] RunOption compile
|
|
61860
62204
|
* @property {replit.goval.api.RunConfig|replit.goval.api.IRunConfig|null} [run] RunOption run
|
|
61861
62205
|
* @property {Array.<string>|null} [defaultEntrypoints] RunOption defaultEntrypoints
|
|
62206
|
+
* @property {replit.goval.api.InterpConfig|replit.goval.api.IInterpConfig|null} [interp] RunOption interp
|
|
61862
62207
|
*/
|
|
61863
62208
|
|
|
61864
62209
|
/**
|
|
@@ -61964,6 +62309,14 @@
|
|
|
61964
62309
|
*/
|
|
61965
62310
|
RunOption.prototype.defaultEntrypoints = $util.emptyArray;
|
|
61966
62311
|
|
|
62312
|
+
/**
|
|
62313
|
+
* RunOption interp.
|
|
62314
|
+
* @member {replit.goval.api.InterpConfig|null|undefined} interp
|
|
62315
|
+
* @memberof replit.goval.api.RunOption
|
|
62316
|
+
* @instance
|
|
62317
|
+
*/
|
|
62318
|
+
RunOption.prototype.interp = null;
|
|
62319
|
+
|
|
61967
62320
|
/**
|
|
61968
62321
|
* Creates a new RunOption instance using the specified properties.
|
|
61969
62322
|
* @function create
|
|
@@ -62011,6 +62364,8 @@
|
|
|
62011
62364
|
if (message.defaultEntrypoints != null && message.defaultEntrypoints.length)
|
|
62012
62365
|
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
62013
62366
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.defaultEntrypoints[i]);
|
|
62367
|
+
if (message.interp != null && Object.hasOwnProperty.call(message, "interp"))
|
|
62368
|
+
$root.replit.goval.api.InterpConfig.encode(message.interp, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
62014
62369
|
return writer;
|
|
62015
62370
|
};
|
|
62016
62371
|
|
|
@@ -62091,6 +62446,10 @@
|
|
|
62091
62446
|
message.defaultEntrypoints.push(reader.string());
|
|
62092
62447
|
break;
|
|
62093
62448
|
}
|
|
62449
|
+
case 12: {
|
|
62450
|
+
message.interp = $root.replit.goval.api.InterpConfig.decode(reader, reader.uint32());
|
|
62451
|
+
break;
|
|
62452
|
+
}
|
|
62094
62453
|
default:
|
|
62095
62454
|
reader.skipType(tag & 7);
|
|
62096
62455
|
break;
|
|
@@ -62169,6 +62528,11 @@
|
|
|
62169
62528
|
if (!$util.isString(message.defaultEntrypoints[i]))
|
|
62170
62529
|
return "defaultEntrypoints: string[] expected";
|
|
62171
62530
|
}
|
|
62531
|
+
if (message.interp != null && message.hasOwnProperty("interp")) {
|
|
62532
|
+
var error = $root.replit.goval.api.InterpConfig.verify(message.interp);
|
|
62533
|
+
if (error)
|
|
62534
|
+
return "interp." + error;
|
|
62535
|
+
}
|
|
62172
62536
|
return null;
|
|
62173
62537
|
};
|
|
62174
62538
|
|
|
@@ -62220,6 +62584,11 @@
|
|
|
62220
62584
|
for (var i = 0; i < object.defaultEntrypoints.length; ++i)
|
|
62221
62585
|
message.defaultEntrypoints[i] = String(object.defaultEntrypoints[i]);
|
|
62222
62586
|
}
|
|
62587
|
+
if (object.interp != null) {
|
|
62588
|
+
if (typeof object.interp !== "object")
|
|
62589
|
+
throw TypeError(".replit.goval.api.RunOption.interp: object expected");
|
|
62590
|
+
message.interp = $root.replit.goval.api.InterpConfig.fromObject(object.interp);
|
|
62591
|
+
}
|
|
62223
62592
|
return message;
|
|
62224
62593
|
};
|
|
62225
62594
|
|
|
@@ -62249,6 +62618,7 @@
|
|
|
62249
62618
|
object.displayVersion = "";
|
|
62250
62619
|
object.compile = null;
|
|
62251
62620
|
object.run = null;
|
|
62621
|
+
object.interp = null;
|
|
62252
62622
|
}
|
|
62253
62623
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
62254
62624
|
object.id = message.id;
|
|
@@ -62275,6 +62645,8 @@
|
|
|
62275
62645
|
for (var j = 0; j < message.defaultEntrypoints.length; ++j)
|
|
62276
62646
|
object.defaultEntrypoints[j] = message.defaultEntrypoints[j];
|
|
62277
62647
|
}
|
|
62648
|
+
if (message.interp != null && message.hasOwnProperty("interp"))
|
|
62649
|
+
object.interp = $root.replit.goval.api.InterpConfig.toObject(message.interp, options);
|
|
62278
62650
|
return object;
|
|
62279
62651
|
};
|
|
62280
62652
|
|
|
@@ -78422,7 +78794,6 @@
|
|
|
78422
78794
|
* @interface IRepl
|
|
78423
78795
|
* @property {string|null} [id] Repl id
|
|
78424
78796
|
* @property {string|null} [user] Repl user
|
|
78425
|
-
* @property {string|null} [slug] Repl slug
|
|
78426
78797
|
*/
|
|
78427
78798
|
|
|
78428
78799
|
/**
|
|
@@ -78455,14 +78826,6 @@
|
|
|
78455
78826
|
*/
|
|
78456
78827
|
Repl.prototype.user = "";
|
|
78457
78828
|
|
|
78458
|
-
/**
|
|
78459
|
-
* Repl slug.
|
|
78460
|
-
* @member {string} slug
|
|
78461
|
-
* @memberof replit.goval.api.lore.Repl
|
|
78462
|
-
* @instance
|
|
78463
|
-
*/
|
|
78464
|
-
Repl.prototype.slug = "";
|
|
78465
|
-
|
|
78466
78829
|
/**
|
|
78467
78830
|
* Creates a new Repl instance using the specified properties.
|
|
78468
78831
|
* @function create
|
|
@@ -78491,8 +78854,6 @@
|
|
|
78491
78854
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
78492
78855
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
78493
78856
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.user);
|
|
78494
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
78495
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
78496
78857
|
return writer;
|
|
78497
78858
|
};
|
|
78498
78859
|
|
|
@@ -78535,10 +78896,6 @@
|
|
|
78535
78896
|
message.user = reader.string();
|
|
78536
78897
|
break;
|
|
78537
78898
|
}
|
|
78538
|
-
case 3: {
|
|
78539
|
-
message.slug = reader.string();
|
|
78540
|
-
break;
|
|
78541
|
-
}
|
|
78542
78899
|
default:
|
|
78543
78900
|
reader.skipType(tag & 7);
|
|
78544
78901
|
break;
|
|
@@ -78580,9 +78937,6 @@
|
|
|
78580
78937
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
78581
78938
|
if (!$util.isString(message.user))
|
|
78582
78939
|
return "user: string expected";
|
|
78583
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
78584
|
-
if (!$util.isString(message.slug))
|
|
78585
|
-
return "slug: string expected";
|
|
78586
78940
|
return null;
|
|
78587
78941
|
};
|
|
78588
78942
|
|
|
@@ -78602,8 +78956,6 @@
|
|
|
78602
78956
|
message.id = String(object.id);
|
|
78603
78957
|
if (object.user != null)
|
|
78604
78958
|
message.user = String(object.user);
|
|
78605
|
-
if (object.slug != null)
|
|
78606
|
-
message.slug = String(object.slug);
|
|
78607
78959
|
return message;
|
|
78608
78960
|
};
|
|
78609
78961
|
|
|
@@ -78623,14 +78975,11 @@
|
|
|
78623
78975
|
if (options.defaults) {
|
|
78624
78976
|
object.id = "";
|
|
78625
78977
|
object.user = "";
|
|
78626
|
-
object.slug = "";
|
|
78627
78978
|
}
|
|
78628
78979
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
78629
78980
|
object.id = message.id;
|
|
78630
78981
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
78631
78982
|
object.user = message.user;
|
|
78632
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
78633
|
-
object.slug = message.slug;
|
|
78634
78983
|
return object;
|
|
78635
78984
|
};
|
|
78636
78985
|
|
|
@@ -78672,6 +79021,7 @@
|
|
|
78672
79021
|
* @property {string|null} [name] Cluster name
|
|
78673
79022
|
* @property {string|null} [conmanUrl] Cluster conmanUrl
|
|
78674
79023
|
* @property {string|null} [gurl] Cluster gurl
|
|
79024
|
+
* @property {string|null} [noxHost] Cluster noxHost
|
|
78675
79025
|
*/
|
|
78676
79026
|
|
|
78677
79027
|
/**
|
|
@@ -78712,6 +79062,14 @@
|
|
|
78712
79062
|
*/
|
|
78713
79063
|
Cluster.prototype.gurl = "";
|
|
78714
79064
|
|
|
79065
|
+
/**
|
|
79066
|
+
* Cluster noxHost.
|
|
79067
|
+
* @member {string} noxHost
|
|
79068
|
+
* @memberof replit.goval.api.lore.Cluster
|
|
79069
|
+
* @instance
|
|
79070
|
+
*/
|
|
79071
|
+
Cluster.prototype.noxHost = "";
|
|
79072
|
+
|
|
78715
79073
|
/**
|
|
78716
79074
|
* Creates a new Cluster instance using the specified properties.
|
|
78717
79075
|
* @function create
|
|
@@ -78742,6 +79100,8 @@
|
|
|
78742
79100
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanUrl);
|
|
78743
79101
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
78744
79102
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
79103
|
+
if (message.noxHost != null && Object.hasOwnProperty.call(message, "noxHost"))
|
|
79104
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.noxHost);
|
|
78745
79105
|
return writer;
|
|
78746
79106
|
};
|
|
78747
79107
|
|
|
@@ -78788,6 +79148,10 @@
|
|
|
78788
79148
|
message.gurl = reader.string();
|
|
78789
79149
|
break;
|
|
78790
79150
|
}
|
|
79151
|
+
case 5: {
|
|
79152
|
+
message.noxHost = reader.string();
|
|
79153
|
+
break;
|
|
79154
|
+
}
|
|
78791
79155
|
default:
|
|
78792
79156
|
reader.skipType(tag & 7);
|
|
78793
79157
|
break;
|
|
@@ -78832,6 +79196,9 @@
|
|
|
78832
79196
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78833
79197
|
if (!$util.isString(message.gurl))
|
|
78834
79198
|
return "gurl: string expected";
|
|
79199
|
+
if (message.noxHost != null && message.hasOwnProperty("noxHost"))
|
|
79200
|
+
if (!$util.isString(message.noxHost))
|
|
79201
|
+
return "noxHost: string expected";
|
|
78835
79202
|
return null;
|
|
78836
79203
|
};
|
|
78837
79204
|
|
|
@@ -78853,6 +79220,8 @@
|
|
|
78853
79220
|
message.conmanUrl = String(object.conmanUrl);
|
|
78854
79221
|
if (object.gurl != null)
|
|
78855
79222
|
message.gurl = String(object.gurl);
|
|
79223
|
+
if (object.noxHost != null)
|
|
79224
|
+
message.noxHost = String(object.noxHost);
|
|
78856
79225
|
return message;
|
|
78857
79226
|
};
|
|
78858
79227
|
|
|
@@ -78873,6 +79242,7 @@
|
|
|
78873
79242
|
object.name = "";
|
|
78874
79243
|
object.conmanUrl = "";
|
|
78875
79244
|
object.gurl = "";
|
|
79245
|
+
object.noxHost = "";
|
|
78876
79246
|
}
|
|
78877
79247
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
78878
79248
|
object.name = message.name;
|
|
@@ -78880,6 +79250,8 @@
|
|
|
78880
79250
|
object.conmanUrl = message.conmanUrl;
|
|
78881
79251
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78882
79252
|
object.gurl = message.gurl;
|
|
79253
|
+
if (message.noxHost != null && message.hasOwnProperty("noxHost"))
|
|
79254
|
+
object.noxHost = message.noxHost;
|
|
78883
79255
|
return object;
|
|
78884
79256
|
};
|
|
78885
79257
|
|
|
@@ -79326,7 +79698,6 @@
|
|
|
79326
79698
|
* @interface IRepl
|
|
79327
79699
|
* @property {string|null} [id] Repl id
|
|
79328
79700
|
* @property {string|null} [user] Repl user
|
|
79329
|
-
* @property {string|null} [slug] Repl slug
|
|
79330
79701
|
*/
|
|
79331
79702
|
|
|
79332
79703
|
/**
|
|
@@ -79359,14 +79730,6 @@
|
|
|
79359
79730
|
*/
|
|
79360
79731
|
Repl.prototype.user = "";
|
|
79361
79732
|
|
|
79362
|
-
/**
|
|
79363
|
-
* Repl slug.
|
|
79364
|
-
* @member {string} slug
|
|
79365
|
-
* @memberof replit.goval.api.lore.CreateReplRequest.Repl
|
|
79366
|
-
* @instance
|
|
79367
|
-
*/
|
|
79368
|
-
Repl.prototype.slug = "";
|
|
79369
|
-
|
|
79370
79733
|
/**
|
|
79371
79734
|
* Creates a new Repl instance using the specified properties.
|
|
79372
79735
|
* @function create
|
|
@@ -79395,8 +79758,6 @@
|
|
|
79395
79758
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
79396
79759
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
79397
79760
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.user);
|
|
79398
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
79399
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
79400
79761
|
return writer;
|
|
79401
79762
|
};
|
|
79402
79763
|
|
|
@@ -79439,10 +79800,6 @@
|
|
|
79439
79800
|
message.user = reader.string();
|
|
79440
79801
|
break;
|
|
79441
79802
|
}
|
|
79442
|
-
case 3: {
|
|
79443
|
-
message.slug = reader.string();
|
|
79444
|
-
break;
|
|
79445
|
-
}
|
|
79446
79803
|
default:
|
|
79447
79804
|
reader.skipType(tag & 7);
|
|
79448
79805
|
break;
|
|
@@ -79484,9 +79841,6 @@
|
|
|
79484
79841
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
79485
79842
|
if (!$util.isString(message.user))
|
|
79486
79843
|
return "user: string expected";
|
|
79487
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
79488
|
-
if (!$util.isString(message.slug))
|
|
79489
|
-
return "slug: string expected";
|
|
79490
79844
|
return null;
|
|
79491
79845
|
};
|
|
79492
79846
|
|
|
@@ -79506,8 +79860,6 @@
|
|
|
79506
79860
|
message.id = String(object.id);
|
|
79507
79861
|
if (object.user != null)
|
|
79508
79862
|
message.user = String(object.user);
|
|
79509
|
-
if (object.slug != null)
|
|
79510
|
-
message.slug = String(object.slug);
|
|
79511
79863
|
return message;
|
|
79512
79864
|
};
|
|
79513
79865
|
|
|
@@ -79527,14 +79879,11 @@
|
|
|
79527
79879
|
if (options.defaults) {
|
|
79528
79880
|
object.id = "";
|
|
79529
79881
|
object.user = "";
|
|
79530
|
-
object.slug = "";
|
|
79531
79882
|
}
|
|
79532
79883
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
79533
79884
|
object.id = message.id;
|
|
79534
79885
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
79535
79886
|
object.user = message.user;
|
|
79536
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
79537
|
-
object.slug = message.slug;
|
|
79538
79887
|
return object;
|
|
79539
79888
|
};
|
|
79540
79889
|
|
|
@@ -81451,7 +81800,6 @@
|
|
|
81451
81800
|
* @memberof replit.goval.api.lore
|
|
81452
81801
|
* @interface IGetReplConnectionInfoRequest
|
|
81453
81802
|
* @property {string|null} [replId] GetReplConnectionInfoRequest replId
|
|
81454
|
-
* @property {string|null} [slug] GetReplConnectionInfoRequest slug
|
|
81455
81803
|
* @property {string|null} [user] GetReplConnectionInfoRequest user
|
|
81456
81804
|
* @property {boolean|null} [persistent] GetReplConnectionInfoRequest persistent
|
|
81457
81805
|
* @property {string|null} [defaultCluster] GetReplConnectionInfoRequest defaultCluster
|
|
@@ -81482,14 +81830,6 @@
|
|
|
81482
81830
|
*/
|
|
81483
81831
|
GetReplConnectionInfoRequest.prototype.replId = "";
|
|
81484
81832
|
|
|
81485
|
-
/**
|
|
81486
|
-
* GetReplConnectionInfoRequest slug.
|
|
81487
|
-
* @member {string} slug
|
|
81488
|
-
* @memberof replit.goval.api.lore.GetReplConnectionInfoRequest
|
|
81489
|
-
* @instance
|
|
81490
|
-
*/
|
|
81491
|
-
GetReplConnectionInfoRequest.prototype.slug = "";
|
|
81492
|
-
|
|
81493
81833
|
/**
|
|
81494
81834
|
* GetReplConnectionInfoRequest user.
|
|
81495
81835
|
* @member {string} user
|
|
@@ -81578,8 +81918,6 @@
|
|
|
81578
81918
|
writer = $Writer.create();
|
|
81579
81919
|
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
81580
81920
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
81581
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
81582
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
81583
81921
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
81584
81922
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.user);
|
|
81585
81923
|
if (message.persistent != null && Object.hasOwnProperty.call(message, "persistent"))
|
|
@@ -81630,10 +81968,6 @@
|
|
|
81630
81968
|
message.replId = reader.string();
|
|
81631
81969
|
break;
|
|
81632
81970
|
}
|
|
81633
|
-
case 2: {
|
|
81634
|
-
message.slug = reader.string();
|
|
81635
|
-
break;
|
|
81636
|
-
}
|
|
81637
81971
|
case 3: {
|
|
81638
81972
|
message.user = reader.string();
|
|
81639
81973
|
break;
|
|
@@ -81697,9 +82031,6 @@
|
|
|
81697
82031
|
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
81698
82032
|
if (!$util.isString(message.replId))
|
|
81699
82033
|
return "replId: string expected";
|
|
81700
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
81701
|
-
if (!$util.isString(message.slug))
|
|
81702
|
-
return "slug: string expected";
|
|
81703
82034
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
81704
82035
|
if (!$util.isString(message.user))
|
|
81705
82036
|
return "user: string expected";
|
|
@@ -81743,8 +82074,6 @@
|
|
|
81743
82074
|
var message = new $root.replit.goval.api.lore.GetReplConnectionInfoRequest();
|
|
81744
82075
|
if (object.replId != null)
|
|
81745
82076
|
message.replId = String(object.replId);
|
|
81746
|
-
if (object.slug != null)
|
|
81747
|
-
message.slug = String(object.slug);
|
|
81748
82077
|
if (object.user != null)
|
|
81749
82078
|
message.user = String(object.user);
|
|
81750
82079
|
if (object.persistent != null)
|
|
@@ -81778,7 +82107,6 @@
|
|
|
81778
82107
|
var object = {};
|
|
81779
82108
|
if (options.defaults) {
|
|
81780
82109
|
object.replId = "";
|
|
81781
|
-
object.slug = "";
|
|
81782
82110
|
object.user = "";
|
|
81783
82111
|
object.persistent = false;
|
|
81784
82112
|
object.sourceReplId = "";
|
|
@@ -81786,8 +82114,6 @@
|
|
|
81786
82114
|
}
|
|
81787
82115
|
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
81788
82116
|
object.replId = message.replId;
|
|
81789
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
81790
|
-
object.slug = message.slug;
|
|
81791
82117
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
81792
82118
|
object.user = message.user;
|
|
81793
82119
|
if (message.persistent != null && message.hasOwnProperty("persistent"))
|
|
@@ -87418,7 +87744,6 @@
|
|
|
87418
87744
|
* @interface IImportReplRequest
|
|
87419
87745
|
* @property {string|null} [replId] ImportReplRequest replId
|
|
87420
87746
|
* @property {string|null} [username] ImportReplRequest username
|
|
87421
|
-
* @property {string|null} [slug] ImportReplRequest slug
|
|
87422
87747
|
* @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] ImportReplRequest replLocation
|
|
87423
87748
|
* @property {replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null} ["export"] ImportReplRequest export
|
|
87424
87749
|
*/
|
|
@@ -87453,14 +87778,6 @@
|
|
|
87453
87778
|
*/
|
|
87454
87779
|
ImportReplRequest.prototype.username = "";
|
|
87455
87780
|
|
|
87456
|
-
/**
|
|
87457
|
-
* ImportReplRequest slug.
|
|
87458
|
-
* @member {string} slug
|
|
87459
|
-
* @memberof replit.goval.api.lore.ImportReplRequest
|
|
87460
|
-
* @instance
|
|
87461
|
-
*/
|
|
87462
|
-
ImportReplRequest.prototype.slug = "";
|
|
87463
|
-
|
|
87464
87781
|
/**
|
|
87465
87782
|
* ImportReplRequest replLocation.
|
|
87466
87783
|
* @member {replit.goval.api.lore.ReplLocation|null|undefined} replLocation
|
|
@@ -87505,8 +87822,6 @@
|
|
|
87505
87822
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
87506
87823
|
if (message.username != null && Object.hasOwnProperty.call(message, "username"))
|
|
87507
87824
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.username);
|
|
87508
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
87509
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
87510
87825
|
if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
|
|
87511
87826
|
$root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
87512
87827
|
if (message["export"] != null && Object.hasOwnProperty.call(message, "export"))
|
|
@@ -87553,10 +87868,6 @@
|
|
|
87553
87868
|
message.username = reader.string();
|
|
87554
87869
|
break;
|
|
87555
87870
|
}
|
|
87556
|
-
case 3: {
|
|
87557
|
-
message.slug = reader.string();
|
|
87558
|
-
break;
|
|
87559
|
-
}
|
|
87560
87871
|
case 4: {
|
|
87561
87872
|
message.replLocation = $root.replit.goval.api.lore.ReplLocation.decode(reader, reader.uint32());
|
|
87562
87873
|
break;
|
|
@@ -87606,9 +87917,6 @@
|
|
|
87606
87917
|
if (message.username != null && message.hasOwnProperty("username"))
|
|
87607
87918
|
if (!$util.isString(message.username))
|
|
87608
87919
|
return "username: string expected";
|
|
87609
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
87610
|
-
if (!$util.isString(message.slug))
|
|
87611
|
-
return "slug: string expected";
|
|
87612
87920
|
if (message.replLocation != null && message.hasOwnProperty("replLocation")) {
|
|
87613
87921
|
var error = $root.replit.goval.api.lore.ReplLocation.verify(message.replLocation);
|
|
87614
87922
|
if (error)
|
|
@@ -87638,8 +87946,6 @@
|
|
|
87638
87946
|
message.replId = String(object.replId);
|
|
87639
87947
|
if (object.username != null)
|
|
87640
87948
|
message.username = String(object.username);
|
|
87641
|
-
if (object.slug != null)
|
|
87642
|
-
message.slug = String(object.slug);
|
|
87643
87949
|
if (object.replLocation != null) {
|
|
87644
87950
|
if (typeof object.replLocation !== "object")
|
|
87645
87951
|
throw TypeError(".replit.goval.api.lore.ImportReplRequest.replLocation: object expected");
|
|
@@ -87669,7 +87975,6 @@
|
|
|
87669
87975
|
if (options.defaults) {
|
|
87670
87976
|
object.replId = "";
|
|
87671
87977
|
object.username = "";
|
|
87672
|
-
object.slug = "";
|
|
87673
87978
|
object.replLocation = null;
|
|
87674
87979
|
object["export"] = null;
|
|
87675
87980
|
}
|
|
@@ -87677,8 +87982,6 @@
|
|
|
87677
87982
|
object.replId = message.replId;
|
|
87678
87983
|
if (message.username != null && message.hasOwnProperty("username"))
|
|
87679
87984
|
object.username = message.username;
|
|
87680
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
87681
|
-
object.slug = message.slug;
|
|
87682
87985
|
if (message.replLocation != null && message.hasOwnProperty("replLocation"))
|
|
87683
87986
|
object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
|
|
87684
87987
|
if (message["export"] != null && message.hasOwnProperty("export"))
|
|
@@ -89401,6 +89704,7 @@
|
|
|
89401
89704
|
* @property {boolean|null} [isTeam] Repl isTeam
|
|
89402
89705
|
* @property {Array.<string>|null} [roles] Repl roles
|
|
89403
89706
|
* @property {string|null} [logFields] Repl logFields
|
|
89707
|
+
* @property {boolean|null} [useReplShield] Repl useReplShield
|
|
89404
89708
|
*/
|
|
89405
89709
|
|
|
89406
89710
|
/**
|
|
@@ -89522,6 +89826,14 @@
|
|
|
89522
89826
|
*/
|
|
89523
89827
|
Repl.prototype.logFields = "";
|
|
89524
89828
|
|
|
89829
|
+
/**
|
|
89830
|
+
* Repl useReplShield.
|
|
89831
|
+
* @member {boolean} useReplShield
|
|
89832
|
+
* @memberof replit.goval.api.repl.Repl
|
|
89833
|
+
* @instance
|
|
89834
|
+
*/
|
|
89835
|
+
Repl.prototype.useReplShield = false;
|
|
89836
|
+
|
|
89525
89837
|
/**
|
|
89526
89838
|
* Creates a new Repl instance using the specified properties.
|
|
89527
89839
|
* @function create
|
|
@@ -89573,6 +89885,8 @@
|
|
|
89573
89885
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.logFields);
|
|
89574
89886
|
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
89575
89887
|
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
89888
|
+
if (message.useReplShield != null && Object.hasOwnProperty.call(message, "useReplShield"))
|
|
89889
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.useReplShield);
|
|
89576
89890
|
return writer;
|
|
89577
89891
|
};
|
|
89578
89892
|
|
|
@@ -89661,6 +89975,10 @@
|
|
|
89661
89975
|
message.logFields = reader.string();
|
|
89662
89976
|
break;
|
|
89663
89977
|
}
|
|
89978
|
+
case 15: {
|
|
89979
|
+
message.useReplShield = reader.bool();
|
|
89980
|
+
break;
|
|
89981
|
+
}
|
|
89664
89982
|
default:
|
|
89665
89983
|
reader.skipType(tag & 7);
|
|
89666
89984
|
break;
|
|
@@ -89745,6 +90063,9 @@
|
|
|
89745
90063
|
if (message.logFields != null && message.hasOwnProperty("logFields"))
|
|
89746
90064
|
if (!$util.isString(message.logFields))
|
|
89747
90065
|
return "logFields: string expected";
|
|
90066
|
+
if (message.useReplShield != null && message.hasOwnProperty("useReplShield"))
|
|
90067
|
+
if (typeof message.useReplShield !== "boolean")
|
|
90068
|
+
return "useReplShield: boolean expected";
|
|
89748
90069
|
return null;
|
|
89749
90070
|
};
|
|
89750
90071
|
|
|
@@ -89800,6 +90121,8 @@
|
|
|
89800
90121
|
}
|
|
89801
90122
|
if (object.logFields != null)
|
|
89802
90123
|
message.logFields = String(object.logFields);
|
|
90124
|
+
if (object.useReplShield != null)
|
|
90125
|
+
message.useReplShield = Boolean(object.useReplShield);
|
|
89803
90126
|
return message;
|
|
89804
90127
|
};
|
|
89805
90128
|
|
|
@@ -89831,6 +90154,7 @@
|
|
|
89831
90154
|
object.isTeam = false;
|
|
89832
90155
|
object.logFields = "";
|
|
89833
90156
|
object.org = null;
|
|
90157
|
+
object.useReplShield = false;
|
|
89834
90158
|
}
|
|
89835
90159
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
89836
90160
|
object.id = message.id;
|
|
@@ -89861,6 +90185,8 @@
|
|
|
89861
90185
|
object.logFields = message.logFields;
|
|
89862
90186
|
if (message.org != null && message.hasOwnProperty("org"))
|
|
89863
90187
|
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
90188
|
+
if (message.useReplShield != null && message.hasOwnProperty("useReplShield"))
|
|
90189
|
+
object.useReplShield = message.useReplShield;
|
|
89864
90190
|
return object;
|
|
89865
90191
|
};
|
|
89866
90192
|
|