@replit/protocol 0.3.46 → 0.3.48
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 -0
- package/main/index.js +548 -1
- package/package.json +1 -1
- package/testapi.js +0 -3
- package/testapi.ts +0 -3
package/main/index.d.ts
CHANGED
|
@@ -9433,6 +9433,9 @@ export namespace replit {
|
|
|
9433
9433
|
|
|
9434
9434
|
/** RunMain runID */
|
|
9435
9435
|
runID?: (string|null);
|
|
9436
|
+
|
|
9437
|
+
/** RunMain clientSession */
|
|
9438
|
+
clientSession?: (number|null);
|
|
9436
9439
|
}
|
|
9437
9440
|
|
|
9438
9441
|
/** Represents a RunMain. */
|
|
@@ -9462,6 +9465,9 @@ export namespace replit {
|
|
|
9462
9465
|
/** RunMain runID. */
|
|
9463
9466
|
public runID: string;
|
|
9464
9467
|
|
|
9468
|
+
/** RunMain clientSession. */
|
|
9469
|
+
public clientSession: number;
|
|
9470
|
+
|
|
9465
9471
|
/**
|
|
9466
9472
|
* Creates a new RunMain instance using the specified properties.
|
|
9467
9473
|
* @param [properties] Properties to set
|
|
@@ -18043,6 +18049,9 @@ export namespace replit {
|
|
|
18043
18049
|
|
|
18044
18050
|
/** DotReplit objectStorage */
|
|
18045
18051
|
objectStorage?: (replit.goval.api.ObjectStorageConfig|replit.goval.api.IObjectStorageConfig|null);
|
|
18052
|
+
|
|
18053
|
+
/** DotReplit autoSave */
|
|
18054
|
+
autoSave?: (replit.goval.api.AutoSaveConfig|replit.goval.api.IAutoSaveConfig|null);
|
|
18046
18055
|
}
|
|
18047
18056
|
|
|
18048
18057
|
/** Represents a DotReplit. */
|
|
@@ -18135,6 +18144,9 @@ export namespace replit {
|
|
|
18135
18144
|
/** DotReplit objectStorage. */
|
|
18136
18145
|
public objectStorage?: (replit.goval.api.ObjectStorageConfig|null);
|
|
18137
18146
|
|
|
18147
|
+
/** DotReplit autoSave. */
|
|
18148
|
+
public autoSave?: (replit.goval.api.AutoSaveConfig|null);
|
|
18149
|
+
|
|
18138
18150
|
/**
|
|
18139
18151
|
* Creates a new DotReplit instance using the specified properties.
|
|
18140
18152
|
* @param [properties] Properties to set
|
|
@@ -21819,6 +21831,15 @@ export namespace replit {
|
|
|
21819
21831
|
|
|
21820
21832
|
/** NixModulesGetRegistryResponse recommendUpgrade */
|
|
21821
21833
|
recommendUpgrade?: ({ [k: string]: (replit.goval.api.NixModulesUpgradeMapEntry|replit.goval.api.INixModulesUpgradeMapEntry) }|null);
|
|
21834
|
+
|
|
21835
|
+
/** NixModulesGetRegistryResponse languageServers */
|
|
21836
|
+
languageServers?: ((replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption)[]|null);
|
|
21837
|
+
|
|
21838
|
+
/** NixModulesGetRegistryResponse formatters */
|
|
21839
|
+
formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
|
|
21840
|
+
|
|
21841
|
+
/** NixModulesGetRegistryResponse packagers */
|
|
21842
|
+
packagers?: ((replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption)[]|null);
|
|
21822
21843
|
}
|
|
21823
21844
|
|
|
21824
21845
|
/** Represents a NixModulesGetRegistryResponse. */
|
|
@@ -21839,6 +21860,15 @@ export namespace replit {
|
|
|
21839
21860
|
/** NixModulesGetRegistryResponse recommendUpgrade. */
|
|
21840
21861
|
public recommendUpgrade: { [k: string]: replit.goval.api.NixModulesUpgradeMapEntry };
|
|
21841
21862
|
|
|
21863
|
+
/** NixModulesGetRegistryResponse languageServers. */
|
|
21864
|
+
public languageServers: replit.goval.api.LanguageServerOption[];
|
|
21865
|
+
|
|
21866
|
+
/** NixModulesGetRegistryResponse formatters. */
|
|
21867
|
+
public formatters: replit.goval.api.FormatterOption[];
|
|
21868
|
+
|
|
21869
|
+
/** NixModulesGetRegistryResponse packagers. */
|
|
21870
|
+
public packagers: replit.goval.api.PackagerOption[];
|
|
21871
|
+
|
|
21842
21872
|
/**
|
|
21843
21873
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
21844
21874
|
* @param [properties] Properties to set
|
|
@@ -21943,6 +21973,9 @@ export namespace replit {
|
|
|
21943
21973
|
|
|
21944
21974
|
/** NixModulesRegistryEntry path */
|
|
21945
21975
|
path?: (string|null);
|
|
21976
|
+
|
|
21977
|
+
/** NixModulesRegistryEntry displayVersion */
|
|
21978
|
+
displayVersion?: (string|null);
|
|
21946
21979
|
}
|
|
21947
21980
|
|
|
21948
21981
|
/** Represents a NixModulesRegistryEntry. */
|
|
@@ -21978,6 +22011,9 @@ export namespace replit {
|
|
|
21978
22011
|
/** NixModulesRegistryEntry path. */
|
|
21979
22012
|
public path: string;
|
|
21980
22013
|
|
|
22014
|
+
/** NixModulesRegistryEntry displayVersion. */
|
|
22015
|
+
public displayVersion: string;
|
|
22016
|
+
|
|
21981
22017
|
/**
|
|
21982
22018
|
* Creates a new NixModulesRegistryEntry instance using the specified properties.
|
|
21983
22019
|
* @param [properties] Properties to set
|
|
@@ -22256,6 +22292,103 @@ export namespace replit {
|
|
|
22256
22292
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22257
22293
|
}
|
|
22258
22294
|
|
|
22295
|
+
/** Properties of an AutoSaveConfig. */
|
|
22296
|
+
interface IAutoSaveConfig {
|
|
22297
|
+
|
|
22298
|
+
/** AutoSaveConfig disabled */
|
|
22299
|
+
disabled?: (boolean|null);
|
|
22300
|
+
}
|
|
22301
|
+
|
|
22302
|
+
/** Represents an AutoSaveConfig. */
|
|
22303
|
+
class AutoSaveConfig {
|
|
22304
|
+
|
|
22305
|
+
/**
|
|
22306
|
+
* Constructs a new AutoSaveConfig.
|
|
22307
|
+
* @param [properties] Properties to set
|
|
22308
|
+
*/
|
|
22309
|
+
private constructor(properties?: replit.goval.api.IAutoSaveConfig);
|
|
22310
|
+
|
|
22311
|
+
/** AutoSaveConfig disabled. */
|
|
22312
|
+
public disabled: boolean;
|
|
22313
|
+
|
|
22314
|
+
/**
|
|
22315
|
+
* Creates a new AutoSaveConfig instance using the specified properties.
|
|
22316
|
+
* @param [properties] Properties to set
|
|
22317
|
+
* @returns AutoSaveConfig instance
|
|
22318
|
+
*/
|
|
22319
|
+
public static create(properties?: replit.goval.api.IAutoSaveConfig): replit.goval.api.AutoSaveConfig;
|
|
22320
|
+
|
|
22321
|
+
/**
|
|
22322
|
+
* Encodes the specified AutoSaveConfig message. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
|
|
22323
|
+
* @param message AutoSaveConfig message or plain object to encode
|
|
22324
|
+
* @param [writer] Writer to encode to
|
|
22325
|
+
* @returns Writer
|
|
22326
|
+
*/
|
|
22327
|
+
public static encode(message: replit.goval.api.AutoSaveConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22328
|
+
|
|
22329
|
+
/**
|
|
22330
|
+
* Encodes the specified AutoSaveConfig message, length delimited. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
|
|
22331
|
+
* @param message AutoSaveConfig message or plain object to encode
|
|
22332
|
+
* @param [writer] Writer to encode to
|
|
22333
|
+
* @returns Writer
|
|
22334
|
+
*/
|
|
22335
|
+
public static encodeDelimited(message: replit.goval.api.AutoSaveConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22336
|
+
|
|
22337
|
+
/**
|
|
22338
|
+
* Decodes an AutoSaveConfig message from the specified reader or buffer.
|
|
22339
|
+
* @param reader Reader or buffer to decode from
|
|
22340
|
+
* @param [length] Message length if known beforehand
|
|
22341
|
+
* @returns AutoSaveConfig
|
|
22342
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22343
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22344
|
+
*/
|
|
22345
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.AutoSaveConfig;
|
|
22346
|
+
|
|
22347
|
+
/**
|
|
22348
|
+
* Decodes an AutoSaveConfig message from the specified reader or buffer, length delimited.
|
|
22349
|
+
* @param reader Reader or buffer to decode from
|
|
22350
|
+
* @returns AutoSaveConfig
|
|
22351
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22352
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22353
|
+
*/
|
|
22354
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.AutoSaveConfig;
|
|
22355
|
+
|
|
22356
|
+
/**
|
|
22357
|
+
* Verifies an AutoSaveConfig message.
|
|
22358
|
+
* @param message Plain object to verify
|
|
22359
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22360
|
+
*/
|
|
22361
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22362
|
+
|
|
22363
|
+
/**
|
|
22364
|
+
* Creates an AutoSaveConfig message from a plain object. Also converts values to their respective internal types.
|
|
22365
|
+
* @param object Plain object
|
|
22366
|
+
* @returns AutoSaveConfig
|
|
22367
|
+
*/
|
|
22368
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.AutoSaveConfig;
|
|
22369
|
+
|
|
22370
|
+
/**
|
|
22371
|
+
* Creates a plain object from an AutoSaveConfig message. Also converts values to other types if specified.
|
|
22372
|
+
* @param message AutoSaveConfig
|
|
22373
|
+
* @param [options] Conversion options
|
|
22374
|
+
* @returns Plain object
|
|
22375
|
+
*/
|
|
22376
|
+
public static toObject(message: replit.goval.api.AutoSaveConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22377
|
+
|
|
22378
|
+
/**
|
|
22379
|
+
* Converts this AutoSaveConfig to JSON.
|
|
22380
|
+
* @returns JSON object
|
|
22381
|
+
*/
|
|
22382
|
+
public toJSON(): { [k: string]: any };
|
|
22383
|
+
|
|
22384
|
+
/**
|
|
22385
|
+
* Gets the default type url for AutoSaveConfig
|
|
22386
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22387
|
+
* @returns The default type url
|
|
22388
|
+
*/
|
|
22389
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22390
|
+
}
|
|
22391
|
+
|
|
22259
22392
|
/** Properties of a ToolchainGetRequest. */
|
|
22260
22393
|
interface IToolchainGetRequest {
|
|
22261
22394
|
}
|
|
@@ -22951,6 +23084,12 @@ export namespace replit {
|
|
|
22951
23084
|
|
|
22952
23085
|
/** LanguageServerOption config */
|
|
22953
23086
|
config?: (replit.goval.api.LanguageServerConfig|replit.goval.api.ILanguageServerConfig|null);
|
|
23087
|
+
|
|
23088
|
+
/** LanguageServerOption moduleId */
|
|
23089
|
+
moduleId?: (string|null);
|
|
23090
|
+
|
|
23091
|
+
/** LanguageServerOption displayVersion */
|
|
23092
|
+
displayVersion?: (string|null);
|
|
22954
23093
|
}
|
|
22955
23094
|
|
|
22956
23095
|
/** Represents a LanguageServerOption. */
|
|
@@ -22977,6 +23116,12 @@ export namespace replit {
|
|
|
22977
23116
|
/** LanguageServerOption config. */
|
|
22978
23117
|
public config?: (replit.goval.api.LanguageServerConfig|null);
|
|
22979
23118
|
|
|
23119
|
+
/** LanguageServerOption moduleId. */
|
|
23120
|
+
public moduleId: string;
|
|
23121
|
+
|
|
23122
|
+
/** LanguageServerOption displayVersion. */
|
|
23123
|
+
public displayVersion: string;
|
|
23124
|
+
|
|
22980
23125
|
/**
|
|
22981
23126
|
* Creates a new LanguageServerOption instance using the specified properties.
|
|
22982
23127
|
* @param [properties] Properties to set
|
|
@@ -23187,6 +23332,12 @@ export namespace replit {
|
|
|
23187
23332
|
|
|
23188
23333
|
/** PackagerOption guessImports */
|
|
23189
23334
|
guessImports?: (boolean|null);
|
|
23335
|
+
|
|
23336
|
+
/** PackagerOption moduleId */
|
|
23337
|
+
moduleId?: (string|null);
|
|
23338
|
+
|
|
23339
|
+
/** PackagerOption displayVersion */
|
|
23340
|
+
displayVersion?: (string|null);
|
|
23190
23341
|
}
|
|
23191
23342
|
|
|
23192
23343
|
/** Represents a PackagerOption. */
|
|
@@ -23219,6 +23370,12 @@ export namespace replit {
|
|
|
23219
23370
|
/** PackagerOption guessImports. */
|
|
23220
23371
|
public guessImports: boolean;
|
|
23221
23372
|
|
|
23373
|
+
/** PackagerOption moduleId. */
|
|
23374
|
+
public moduleId: string;
|
|
23375
|
+
|
|
23376
|
+
/** PackagerOption displayVersion. */
|
|
23377
|
+
public displayVersion: string;
|
|
23378
|
+
|
|
23222
23379
|
/**
|
|
23223
23380
|
* Creates a new PackagerOption instance using the specified properties.
|
|
23224
23381
|
* @param [properties] Properties to set
|
|
@@ -23311,6 +23468,12 @@ export namespace replit {
|
|
|
23311
23468
|
|
|
23312
23469
|
/** FormatterOption fileTypeAttrs */
|
|
23313
23470
|
fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null);
|
|
23471
|
+
|
|
23472
|
+
/** FormatterOption moduleId */
|
|
23473
|
+
moduleId?: (string|null);
|
|
23474
|
+
|
|
23475
|
+
/** FormatterOption displayVersion */
|
|
23476
|
+
displayVersion?: (string|null);
|
|
23314
23477
|
}
|
|
23315
23478
|
|
|
23316
23479
|
/** Represents a FormatterOption. */
|
|
@@ -23334,6 +23497,12 @@ export namespace replit {
|
|
|
23334
23497
|
/** FormatterOption fileTypeAttrs. */
|
|
23335
23498
|
public fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|null);
|
|
23336
23499
|
|
|
23500
|
+
/** FormatterOption moduleId. */
|
|
23501
|
+
public moduleId: string;
|
|
23502
|
+
|
|
23503
|
+
/** FormatterOption displayVersion. */
|
|
23504
|
+
public displayVersion: string;
|
|
23505
|
+
|
|
23337
23506
|
/**
|
|
23338
23507
|
* Creates a new FormatterOption instance using the specified properties.
|
|
23339
23508
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -25384,6 +25384,7 @@
|
|
|
25384
25384
|
* @property {string|null} [runnerId] RunMain runnerId
|
|
25385
25385
|
* @property {boolean|null} [fromHosting] RunMain fromHosting
|
|
25386
25386
|
* @property {string|null} [runID] RunMain runID
|
|
25387
|
+
* @property {number|null} [clientSession] RunMain clientSession
|
|
25387
25388
|
*/
|
|
25388
25389
|
|
|
25389
25390
|
/**
|
|
@@ -25448,6 +25449,14 @@
|
|
|
25448
25449
|
*/
|
|
25449
25450
|
RunMain.prototype.runID = "";
|
|
25450
25451
|
|
|
25452
|
+
/**
|
|
25453
|
+
* RunMain clientSession.
|
|
25454
|
+
* @member {number} clientSession
|
|
25455
|
+
* @memberof replit.goval.api.RunMain
|
|
25456
|
+
* @instance
|
|
25457
|
+
*/
|
|
25458
|
+
RunMain.prototype.clientSession = 0;
|
|
25459
|
+
|
|
25451
25460
|
/**
|
|
25452
25461
|
* Creates a new RunMain instance using the specified properties.
|
|
25453
25462
|
* @function create
|
|
@@ -25484,6 +25493,8 @@
|
|
|
25484
25493
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.fromHosting);
|
|
25485
25494
|
if (message.runID != null && Object.hasOwnProperty.call(message, "runID"))
|
|
25486
25495
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.runID);
|
|
25496
|
+
if (message.clientSession != null && Object.hasOwnProperty.call(message, "clientSession"))
|
|
25497
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clientSession);
|
|
25487
25498
|
return writer;
|
|
25488
25499
|
};
|
|
25489
25500
|
|
|
@@ -25542,6 +25553,10 @@
|
|
|
25542
25553
|
message.runID = reader.string();
|
|
25543
25554
|
break;
|
|
25544
25555
|
}
|
|
25556
|
+
case 7: {
|
|
25557
|
+
message.clientSession = reader.int32();
|
|
25558
|
+
break;
|
|
25559
|
+
}
|
|
25545
25560
|
default:
|
|
25546
25561
|
reader.skipType(tag & 7);
|
|
25547
25562
|
break;
|
|
@@ -25600,6 +25615,9 @@
|
|
|
25600
25615
|
if (message.runID != null && message.hasOwnProperty("runID"))
|
|
25601
25616
|
if (!$util.isString(message.runID))
|
|
25602
25617
|
return "runID: string expected";
|
|
25618
|
+
if (message.clientSession != null && message.hasOwnProperty("clientSession"))
|
|
25619
|
+
if (!$util.isInteger(message.clientSession))
|
|
25620
|
+
return "clientSession: integer expected";
|
|
25603
25621
|
return null;
|
|
25604
25622
|
};
|
|
25605
25623
|
|
|
@@ -25641,6 +25659,8 @@
|
|
|
25641
25659
|
message.fromHosting = Boolean(object.fromHosting);
|
|
25642
25660
|
if (object.runID != null)
|
|
25643
25661
|
message.runID = String(object.runID);
|
|
25662
|
+
if (object.clientSession != null)
|
|
25663
|
+
message.clientSession = object.clientSession | 0;
|
|
25644
25664
|
return message;
|
|
25645
25665
|
};
|
|
25646
25666
|
|
|
@@ -25664,6 +25684,7 @@
|
|
|
25664
25684
|
object.runnerId = "";
|
|
25665
25685
|
object.fromHosting = false;
|
|
25666
25686
|
object.runID = "";
|
|
25687
|
+
object.clientSession = 0;
|
|
25667
25688
|
}
|
|
25668
25689
|
if (message.runMode != null && message.hasOwnProperty("runMode"))
|
|
25669
25690
|
object.runMode = options.enums === String ? $root.replit.goval.api.RunMain.RunMode[message.runMode] === undefined ? message.runMode : $root.replit.goval.api.RunMain.RunMode[message.runMode] : message.runMode;
|
|
@@ -25677,6 +25698,8 @@
|
|
|
25677
25698
|
object.fromHosting = message.fromHosting;
|
|
25678
25699
|
if (message.runID != null && message.hasOwnProperty("runID"))
|
|
25679
25700
|
object.runID = message.runID;
|
|
25701
|
+
if (message.clientSession != null && message.hasOwnProperty("clientSession"))
|
|
25702
|
+
object.clientSession = message.clientSession;
|
|
25680
25703
|
return object;
|
|
25681
25704
|
};
|
|
25682
25705
|
|
|
@@ -45383,6 +45406,7 @@
|
|
|
45383
45406
|
* @property {replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null} [rules] DotReplit rules
|
|
45384
45407
|
* @property {replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null} [suggestions] DotReplit suggestions
|
|
45385
45408
|
* @property {replit.goval.api.ObjectStorageConfig|replit.goval.api.IObjectStorageConfig|null} [objectStorage] DotReplit objectStorage
|
|
45409
|
+
* @property {replit.goval.api.AutoSaveConfig|replit.goval.api.IAutoSaveConfig|null} [autoSave] DotReplit autoSave
|
|
45386
45410
|
*/
|
|
45387
45411
|
|
|
45388
45412
|
/**
|
|
@@ -45623,6 +45647,14 @@
|
|
|
45623
45647
|
*/
|
|
45624
45648
|
DotReplit.prototype.objectStorage = null;
|
|
45625
45649
|
|
|
45650
|
+
/**
|
|
45651
|
+
* DotReplit autoSave.
|
|
45652
|
+
* @member {replit.goval.api.AutoSaveConfig|null|undefined} autoSave
|
|
45653
|
+
* @memberof replit.goval.api.DotReplit
|
|
45654
|
+
* @instance
|
|
45655
|
+
*/
|
|
45656
|
+
DotReplit.prototype.autoSave = null;
|
|
45657
|
+
|
|
45626
45658
|
/**
|
|
45627
45659
|
* Creates a new DotReplit instance using the specified properties.
|
|
45628
45660
|
* @function create
|
|
@@ -45711,6 +45743,8 @@
|
|
|
45711
45743
|
$root.replit.goval.api.SuggestionsConfig.encode(message.suggestions, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
|
|
45712
45744
|
if (message.objectStorage != null && Object.hasOwnProperty.call(message, "objectStorage"))
|
|
45713
45745
|
$root.replit.goval.api.ObjectStorageConfig.encode(message.objectStorage, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();
|
|
45746
|
+
if (message.autoSave != null && Object.hasOwnProperty.call(message, "autoSave"))
|
|
45747
|
+
$root.replit.goval.api.AutoSaveConfig.encode(message.autoSave, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
|
|
45714
45748
|
return writer;
|
|
45715
45749
|
};
|
|
45716
45750
|
|
|
@@ -45903,6 +45937,10 @@
|
|
|
45903
45937
|
message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.decode(reader, reader.uint32());
|
|
45904
45938
|
break;
|
|
45905
45939
|
}
|
|
45940
|
+
case 28: {
|
|
45941
|
+
message.autoSave = $root.replit.goval.api.AutoSaveConfig.decode(reader, reader.uint32());
|
|
45942
|
+
break;
|
|
45943
|
+
}
|
|
45906
45944
|
default:
|
|
45907
45945
|
reader.skipType(tag & 7);
|
|
45908
45946
|
break;
|
|
@@ -46093,6 +46131,11 @@
|
|
|
46093
46131
|
if (error)
|
|
46094
46132
|
return "objectStorage." + error;
|
|
46095
46133
|
}
|
|
46134
|
+
if (message.autoSave != null && message.hasOwnProperty("autoSave")) {
|
|
46135
|
+
var error = $root.replit.goval.api.AutoSaveConfig.verify(message.autoSave);
|
|
46136
|
+
if (error)
|
|
46137
|
+
return "autoSave." + error;
|
|
46138
|
+
}
|
|
46096
46139
|
return null;
|
|
46097
46140
|
};
|
|
46098
46141
|
|
|
@@ -46262,6 +46305,11 @@
|
|
|
46262
46305
|
throw TypeError(".replit.goval.api.DotReplit.objectStorage: object expected");
|
|
46263
46306
|
message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.fromObject(object.objectStorage);
|
|
46264
46307
|
}
|
|
46308
|
+
if (object.autoSave != null) {
|
|
46309
|
+
if (typeof object.autoSave !== "object")
|
|
46310
|
+
throw TypeError(".replit.goval.api.DotReplit.autoSave: object expected");
|
|
46311
|
+
message.autoSave = $root.replit.goval.api.AutoSaveConfig.fromObject(object.autoSave);
|
|
46312
|
+
}
|
|
46265
46313
|
return message;
|
|
46266
46314
|
};
|
|
46267
46315
|
|
|
@@ -46310,6 +46358,7 @@
|
|
|
46310
46358
|
object.rules = null;
|
|
46311
46359
|
object.suggestions = null;
|
|
46312
46360
|
object.objectStorage = null;
|
|
46361
|
+
object.autoSave = null;
|
|
46313
46362
|
}
|
|
46314
46363
|
if (message.run != null && message.hasOwnProperty("run"))
|
|
46315
46364
|
object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
|
|
@@ -46390,6 +46439,8 @@
|
|
|
46390
46439
|
object.suggestions = $root.replit.goval.api.SuggestionsConfig.toObject(message.suggestions, options);
|
|
46391
46440
|
if (message.objectStorage != null && message.hasOwnProperty("objectStorage"))
|
|
46392
46441
|
object.objectStorage = $root.replit.goval.api.ObjectStorageConfig.toObject(message.objectStorage, options);
|
|
46442
|
+
if (message.autoSave != null && message.hasOwnProperty("autoSave"))
|
|
46443
|
+
object.autoSave = $root.replit.goval.api.AutoSaveConfig.toObject(message.autoSave, options);
|
|
46393
46444
|
return object;
|
|
46394
46445
|
};
|
|
46395
46446
|
|
|
@@ -55068,6 +55119,9 @@
|
|
|
55068
55119
|
* @property {Array.<replit.goval.api.NixModulesRegistryEntry|replit.goval.api.INixModulesRegistryEntry>|null} [modules] NixModulesGetRegistryResponse modules
|
|
55069
55120
|
* @property {Object.<string,replit.goval.api.NixModulesUpgradeMapEntry|replit.goval.api.INixModulesUpgradeMapEntry>|null} [autoUpgrade] NixModulesGetRegistryResponse autoUpgrade
|
|
55070
55121
|
* @property {Object.<string,replit.goval.api.NixModulesUpgradeMapEntry|replit.goval.api.INixModulesUpgradeMapEntry>|null} [recommendUpgrade] NixModulesGetRegistryResponse recommendUpgrade
|
|
55122
|
+
* @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] NixModulesGetRegistryResponse languageServers
|
|
55123
|
+
* @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModulesGetRegistryResponse formatters
|
|
55124
|
+
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModulesGetRegistryResponse packagers
|
|
55071
55125
|
*/
|
|
55072
55126
|
|
|
55073
55127
|
/**
|
|
@@ -55081,6 +55135,9 @@
|
|
|
55081
55135
|
this.modules = [];
|
|
55082
55136
|
this.autoUpgrade = {};
|
|
55083
55137
|
this.recommendUpgrade = {};
|
|
55138
|
+
this.languageServers = [];
|
|
55139
|
+
this.formatters = [];
|
|
55140
|
+
this.packagers = [];
|
|
55084
55141
|
if (properties)
|
|
55085
55142
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
55086
55143
|
if (properties[keys[i]] != null)
|
|
@@ -55111,6 +55168,30 @@
|
|
|
55111
55168
|
*/
|
|
55112
55169
|
NixModulesGetRegistryResponse.prototype.recommendUpgrade = $util.emptyObject;
|
|
55113
55170
|
|
|
55171
|
+
/**
|
|
55172
|
+
* NixModulesGetRegistryResponse languageServers.
|
|
55173
|
+
* @member {Array.<replit.goval.api.LanguageServerOption>} languageServers
|
|
55174
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55175
|
+
* @instance
|
|
55176
|
+
*/
|
|
55177
|
+
NixModulesGetRegistryResponse.prototype.languageServers = $util.emptyArray;
|
|
55178
|
+
|
|
55179
|
+
/**
|
|
55180
|
+
* NixModulesGetRegistryResponse formatters.
|
|
55181
|
+
* @member {Array.<replit.goval.api.FormatterOption>} formatters
|
|
55182
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55183
|
+
* @instance
|
|
55184
|
+
*/
|
|
55185
|
+
NixModulesGetRegistryResponse.prototype.formatters = $util.emptyArray;
|
|
55186
|
+
|
|
55187
|
+
/**
|
|
55188
|
+
* NixModulesGetRegistryResponse packagers.
|
|
55189
|
+
* @member {Array.<replit.goval.api.PackagerOption>} packagers
|
|
55190
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55191
|
+
* @instance
|
|
55192
|
+
*/
|
|
55193
|
+
NixModulesGetRegistryResponse.prototype.packagers = $util.emptyArray;
|
|
55194
|
+
|
|
55114
55195
|
/**
|
|
55115
55196
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
55116
55197
|
* @function create
|
|
@@ -55148,6 +55229,15 @@
|
|
|
55148
55229
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
55149
55230
|
$root.replit.goval.api.NixModulesUpgradeMapEntry.encode(message.recommendUpgrade[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
55150
55231
|
}
|
|
55232
|
+
if (message.languageServers != null && message.languageServers.length)
|
|
55233
|
+
for (var i = 0; i < message.languageServers.length; ++i)
|
|
55234
|
+
$root.replit.goval.api.LanguageServerOption.encode(message.languageServers[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
55235
|
+
if (message.formatters != null && message.formatters.length)
|
|
55236
|
+
for (var i = 0; i < message.formatters.length; ++i)
|
|
55237
|
+
$root.replit.goval.api.FormatterOption.encode(message.formatters[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
55238
|
+
if (message.packagers != null && message.packagers.length)
|
|
55239
|
+
for (var i = 0; i < message.packagers.length; ++i)
|
|
55240
|
+
$root.replit.goval.api.PackagerOption.encode(message.packagers[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
55151
55241
|
return writer;
|
|
55152
55242
|
};
|
|
55153
55243
|
|
|
@@ -55234,6 +55324,24 @@
|
|
|
55234
55324
|
message.recommendUpgrade[key] = value;
|
|
55235
55325
|
break;
|
|
55236
55326
|
}
|
|
55327
|
+
case 4: {
|
|
55328
|
+
if (!(message.languageServers && message.languageServers.length))
|
|
55329
|
+
message.languageServers = [];
|
|
55330
|
+
message.languageServers.push($root.replit.goval.api.LanguageServerOption.decode(reader, reader.uint32()));
|
|
55331
|
+
break;
|
|
55332
|
+
}
|
|
55333
|
+
case 5: {
|
|
55334
|
+
if (!(message.formatters && message.formatters.length))
|
|
55335
|
+
message.formatters = [];
|
|
55336
|
+
message.formatters.push($root.replit.goval.api.FormatterOption.decode(reader, reader.uint32()));
|
|
55337
|
+
break;
|
|
55338
|
+
}
|
|
55339
|
+
case 6: {
|
|
55340
|
+
if (!(message.packagers && message.packagers.length))
|
|
55341
|
+
message.packagers = [];
|
|
55342
|
+
message.packagers.push($root.replit.goval.api.PackagerOption.decode(reader, reader.uint32()));
|
|
55343
|
+
break;
|
|
55344
|
+
}
|
|
55237
55345
|
default:
|
|
55238
55346
|
reader.skipType(tag & 7);
|
|
55239
55347
|
break;
|
|
@@ -55298,6 +55406,33 @@
|
|
|
55298
55406
|
return "recommendUpgrade." + error;
|
|
55299
55407
|
}
|
|
55300
55408
|
}
|
|
55409
|
+
if (message.languageServers != null && message.hasOwnProperty("languageServers")) {
|
|
55410
|
+
if (!Array.isArray(message.languageServers))
|
|
55411
|
+
return "languageServers: array expected";
|
|
55412
|
+
for (var i = 0; i < message.languageServers.length; ++i) {
|
|
55413
|
+
var error = $root.replit.goval.api.LanguageServerOption.verify(message.languageServers[i]);
|
|
55414
|
+
if (error)
|
|
55415
|
+
return "languageServers." + error;
|
|
55416
|
+
}
|
|
55417
|
+
}
|
|
55418
|
+
if (message.formatters != null && message.hasOwnProperty("formatters")) {
|
|
55419
|
+
if (!Array.isArray(message.formatters))
|
|
55420
|
+
return "formatters: array expected";
|
|
55421
|
+
for (var i = 0; i < message.formatters.length; ++i) {
|
|
55422
|
+
var error = $root.replit.goval.api.FormatterOption.verify(message.formatters[i]);
|
|
55423
|
+
if (error)
|
|
55424
|
+
return "formatters." + error;
|
|
55425
|
+
}
|
|
55426
|
+
}
|
|
55427
|
+
if (message.packagers != null && message.hasOwnProperty("packagers")) {
|
|
55428
|
+
if (!Array.isArray(message.packagers))
|
|
55429
|
+
return "packagers: array expected";
|
|
55430
|
+
for (var i = 0; i < message.packagers.length; ++i) {
|
|
55431
|
+
var error = $root.replit.goval.api.PackagerOption.verify(message.packagers[i]);
|
|
55432
|
+
if (error)
|
|
55433
|
+
return "packagers." + error;
|
|
55434
|
+
}
|
|
55435
|
+
}
|
|
55301
55436
|
return null;
|
|
55302
55437
|
};
|
|
55303
55438
|
|
|
@@ -55343,6 +55478,36 @@
|
|
|
55343
55478
|
message.recommendUpgrade[keys[i]] = $root.replit.goval.api.NixModulesUpgradeMapEntry.fromObject(object.recommendUpgrade[keys[i]]);
|
|
55344
55479
|
}
|
|
55345
55480
|
}
|
|
55481
|
+
if (object.languageServers) {
|
|
55482
|
+
if (!Array.isArray(object.languageServers))
|
|
55483
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.languageServers: array expected");
|
|
55484
|
+
message.languageServers = [];
|
|
55485
|
+
for (var i = 0; i < object.languageServers.length; ++i) {
|
|
55486
|
+
if (typeof object.languageServers[i] !== "object")
|
|
55487
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.languageServers: object expected");
|
|
55488
|
+
message.languageServers[i] = $root.replit.goval.api.LanguageServerOption.fromObject(object.languageServers[i]);
|
|
55489
|
+
}
|
|
55490
|
+
}
|
|
55491
|
+
if (object.formatters) {
|
|
55492
|
+
if (!Array.isArray(object.formatters))
|
|
55493
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.formatters: array expected");
|
|
55494
|
+
message.formatters = [];
|
|
55495
|
+
for (var i = 0; i < object.formatters.length; ++i) {
|
|
55496
|
+
if (typeof object.formatters[i] !== "object")
|
|
55497
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.formatters: object expected");
|
|
55498
|
+
message.formatters[i] = $root.replit.goval.api.FormatterOption.fromObject(object.formatters[i]);
|
|
55499
|
+
}
|
|
55500
|
+
}
|
|
55501
|
+
if (object.packagers) {
|
|
55502
|
+
if (!Array.isArray(object.packagers))
|
|
55503
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.packagers: array expected");
|
|
55504
|
+
message.packagers = [];
|
|
55505
|
+
for (var i = 0; i < object.packagers.length; ++i) {
|
|
55506
|
+
if (typeof object.packagers[i] !== "object")
|
|
55507
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.packagers: object expected");
|
|
55508
|
+
message.packagers[i] = $root.replit.goval.api.PackagerOption.fromObject(object.packagers[i]);
|
|
55509
|
+
}
|
|
55510
|
+
}
|
|
55346
55511
|
return message;
|
|
55347
55512
|
};
|
|
55348
55513
|
|
|
@@ -55359,8 +55524,12 @@
|
|
|
55359
55524
|
if (!options)
|
|
55360
55525
|
options = {};
|
|
55361
55526
|
var object = {};
|
|
55362
|
-
if (options.arrays || options.defaults)
|
|
55527
|
+
if (options.arrays || options.defaults) {
|
|
55363
55528
|
object.modules = [];
|
|
55529
|
+
object.languageServers = [];
|
|
55530
|
+
object.formatters = [];
|
|
55531
|
+
object.packagers = [];
|
|
55532
|
+
}
|
|
55364
55533
|
if (options.objects || options.defaults) {
|
|
55365
55534
|
object.autoUpgrade = {};
|
|
55366
55535
|
object.recommendUpgrade = {};
|
|
@@ -55381,6 +55550,21 @@
|
|
|
55381
55550
|
for (var j = 0; j < keys2.length; ++j)
|
|
55382
55551
|
object.recommendUpgrade[keys2[j]] = $root.replit.goval.api.NixModulesUpgradeMapEntry.toObject(message.recommendUpgrade[keys2[j]], options);
|
|
55383
55552
|
}
|
|
55553
|
+
if (message.languageServers && message.languageServers.length) {
|
|
55554
|
+
object.languageServers = [];
|
|
55555
|
+
for (var j = 0; j < message.languageServers.length; ++j)
|
|
55556
|
+
object.languageServers[j] = $root.replit.goval.api.LanguageServerOption.toObject(message.languageServers[j], options);
|
|
55557
|
+
}
|
|
55558
|
+
if (message.formatters && message.formatters.length) {
|
|
55559
|
+
object.formatters = [];
|
|
55560
|
+
for (var j = 0; j < message.formatters.length; ++j)
|
|
55561
|
+
object.formatters[j] = $root.replit.goval.api.FormatterOption.toObject(message.formatters[j], options);
|
|
55562
|
+
}
|
|
55563
|
+
if (message.packagers && message.packagers.length) {
|
|
55564
|
+
object.packagers = [];
|
|
55565
|
+
for (var j = 0; j < message.packagers.length; ++j)
|
|
55566
|
+
object.packagers[j] = $root.replit.goval.api.PackagerOption.toObject(message.packagers[j], options);
|
|
55567
|
+
}
|
|
55384
55568
|
return object;
|
|
55385
55569
|
};
|
|
55386
55570
|
|
|
@@ -55427,6 +55611,7 @@
|
|
|
55427
55611
|
* @property {Array.<string>|null} [tags] NixModulesRegistryEntry tags
|
|
55428
55612
|
* @property {string|null} [commit] NixModulesRegistryEntry commit
|
|
55429
55613
|
* @property {string|null} [path] NixModulesRegistryEntry path
|
|
55614
|
+
* @property {string|null} [displayVersion] NixModulesRegistryEntry displayVersion
|
|
55430
55615
|
*/
|
|
55431
55616
|
|
|
55432
55617
|
/**
|
|
@@ -55508,6 +55693,14 @@
|
|
|
55508
55693
|
*/
|
|
55509
55694
|
NixModulesRegistryEntry.prototype.path = "";
|
|
55510
55695
|
|
|
55696
|
+
/**
|
|
55697
|
+
* NixModulesRegistryEntry displayVersion.
|
|
55698
|
+
* @member {string} displayVersion
|
|
55699
|
+
* @memberof replit.goval.api.NixModulesRegistryEntry
|
|
55700
|
+
* @instance
|
|
55701
|
+
*/
|
|
55702
|
+
NixModulesRegistryEntry.prototype.displayVersion = "";
|
|
55703
|
+
|
|
55511
55704
|
/**
|
|
55512
55705
|
* Creates a new NixModulesRegistryEntry instance using the specified properties.
|
|
55513
55706
|
* @function create
|
|
@@ -55549,6 +55742,8 @@
|
|
|
55549
55742
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.commit);
|
|
55550
55743
|
if (message.path != null && Object.hasOwnProperty.call(message, "path"))
|
|
55551
55744
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.path);
|
|
55745
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
55746
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.displayVersion);
|
|
55552
55747
|
return writer;
|
|
55553
55748
|
};
|
|
55554
55749
|
|
|
@@ -55617,6 +55812,10 @@
|
|
|
55617
55812
|
message.path = reader.string();
|
|
55618
55813
|
break;
|
|
55619
55814
|
}
|
|
55815
|
+
case 9: {
|
|
55816
|
+
message.displayVersion = reader.string();
|
|
55817
|
+
break;
|
|
55818
|
+
}
|
|
55620
55819
|
default:
|
|
55621
55820
|
reader.skipType(tag & 7);
|
|
55622
55821
|
break;
|
|
@@ -55680,6 +55879,9 @@
|
|
|
55680
55879
|
if (message.path != null && message.hasOwnProperty("path"))
|
|
55681
55880
|
if (!$util.isString(message.path))
|
|
55682
55881
|
return "path: string expected";
|
|
55882
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55883
|
+
if (!$util.isString(message.displayVersion))
|
|
55884
|
+
return "displayVersion: string expected";
|
|
55683
55885
|
return null;
|
|
55684
55886
|
};
|
|
55685
55887
|
|
|
@@ -55716,6 +55918,8 @@
|
|
|
55716
55918
|
message.commit = String(object.commit);
|
|
55717
55919
|
if (object.path != null)
|
|
55718
55920
|
message.path = String(object.path);
|
|
55921
|
+
if (object.displayVersion != null)
|
|
55922
|
+
message.displayVersion = String(object.displayVersion);
|
|
55719
55923
|
return message;
|
|
55720
55924
|
};
|
|
55721
55925
|
|
|
@@ -55742,6 +55946,7 @@
|
|
|
55742
55946
|
object.tag = "";
|
|
55743
55947
|
object.commit = "";
|
|
55744
55948
|
object.path = "";
|
|
55949
|
+
object.displayVersion = "";
|
|
55745
55950
|
}
|
|
55746
55951
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
55747
55952
|
object.id = message.id;
|
|
@@ -55762,6 +55967,8 @@
|
|
|
55762
55967
|
object.commit = message.commit;
|
|
55763
55968
|
if (message.path != null && message.hasOwnProperty("path"))
|
|
55764
55969
|
object.path = message.path;
|
|
55970
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55971
|
+
object.displayVersion = message.displayVersion;
|
|
55765
55972
|
return object;
|
|
55766
55973
|
};
|
|
55767
55974
|
|
|
@@ -56222,6 +56429,208 @@
|
|
|
56222
56429
|
return ObjectStorageConfig;
|
|
56223
56430
|
})();
|
|
56224
56431
|
|
|
56432
|
+
api.AutoSaveConfig = (function() {
|
|
56433
|
+
|
|
56434
|
+
/**
|
|
56435
|
+
* Properties of an AutoSaveConfig.
|
|
56436
|
+
* @memberof replit.goval.api
|
|
56437
|
+
* @interface IAutoSaveConfig
|
|
56438
|
+
* @property {boolean|null} [disabled] AutoSaveConfig disabled
|
|
56439
|
+
*/
|
|
56440
|
+
|
|
56441
|
+
/**
|
|
56442
|
+
* Constructs a new AutoSaveConfig.
|
|
56443
|
+
* @memberof replit.goval.api
|
|
56444
|
+
* @classdesc Represents an AutoSaveConfig.
|
|
56445
|
+
* @constructor
|
|
56446
|
+
* @param {replit.goval.api.IAutoSaveConfig=} [properties] Properties to set
|
|
56447
|
+
*/
|
|
56448
|
+
function AutoSaveConfig(properties) {
|
|
56449
|
+
if (properties)
|
|
56450
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
56451
|
+
if (properties[keys[i]] != null)
|
|
56452
|
+
this[keys[i]] = properties[keys[i]];
|
|
56453
|
+
}
|
|
56454
|
+
|
|
56455
|
+
/**
|
|
56456
|
+
* AutoSaveConfig disabled.
|
|
56457
|
+
* @member {boolean} disabled
|
|
56458
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56459
|
+
* @instance
|
|
56460
|
+
*/
|
|
56461
|
+
AutoSaveConfig.prototype.disabled = false;
|
|
56462
|
+
|
|
56463
|
+
/**
|
|
56464
|
+
* Creates a new AutoSaveConfig instance using the specified properties.
|
|
56465
|
+
* @function create
|
|
56466
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56467
|
+
* @static
|
|
56468
|
+
* @param {replit.goval.api.IAutoSaveConfig=} [properties] Properties to set
|
|
56469
|
+
* @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig instance
|
|
56470
|
+
*/
|
|
56471
|
+
AutoSaveConfig.create = function create(properties) {
|
|
56472
|
+
return AutoSaveConfig.fromObject(properties);
|
|
56473
|
+
};
|
|
56474
|
+
|
|
56475
|
+
/**
|
|
56476
|
+
* Encodes the specified AutoSaveConfig message. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
|
|
56477
|
+
* @function encode
|
|
56478
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56479
|
+
* @static
|
|
56480
|
+
* @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig message or plain object to encode
|
|
56481
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
56482
|
+
* @returns {$protobuf.Writer} Writer
|
|
56483
|
+
*/
|
|
56484
|
+
AutoSaveConfig.encode = function encode(message, writer) {
|
|
56485
|
+
if (!writer)
|
|
56486
|
+
writer = $Writer.create();
|
|
56487
|
+
if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled"))
|
|
56488
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disabled);
|
|
56489
|
+
return writer;
|
|
56490
|
+
};
|
|
56491
|
+
|
|
56492
|
+
/**
|
|
56493
|
+
* Encodes the specified AutoSaveConfig message, length delimited. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
|
|
56494
|
+
* @function encodeDelimited
|
|
56495
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56496
|
+
* @static
|
|
56497
|
+
* @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig message or plain object to encode
|
|
56498
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
56499
|
+
* @returns {$protobuf.Writer} Writer
|
|
56500
|
+
*/
|
|
56501
|
+
AutoSaveConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
56502
|
+
return this.encode(message, writer).ldelim();
|
|
56503
|
+
};
|
|
56504
|
+
|
|
56505
|
+
/**
|
|
56506
|
+
* Decodes an AutoSaveConfig message from the specified reader or buffer.
|
|
56507
|
+
* @function decode
|
|
56508
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56509
|
+
* @static
|
|
56510
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
56511
|
+
* @param {number} [length] Message length if known beforehand
|
|
56512
|
+
* @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
|
|
56513
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56514
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56515
|
+
*/
|
|
56516
|
+
AutoSaveConfig.decode = function decode(reader, length) {
|
|
56517
|
+
if (!(reader instanceof $Reader))
|
|
56518
|
+
reader = $Reader.create(reader);
|
|
56519
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.AutoSaveConfig();
|
|
56520
|
+
while (reader.pos < end) {
|
|
56521
|
+
var tag = reader.uint32();
|
|
56522
|
+
switch (tag >>> 3) {
|
|
56523
|
+
case 1: {
|
|
56524
|
+
message.disabled = reader.bool();
|
|
56525
|
+
break;
|
|
56526
|
+
}
|
|
56527
|
+
default:
|
|
56528
|
+
reader.skipType(tag & 7);
|
|
56529
|
+
break;
|
|
56530
|
+
}
|
|
56531
|
+
}
|
|
56532
|
+
return message;
|
|
56533
|
+
};
|
|
56534
|
+
|
|
56535
|
+
/**
|
|
56536
|
+
* Decodes an AutoSaveConfig message from the specified reader or buffer, length delimited.
|
|
56537
|
+
* @function decodeDelimited
|
|
56538
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56539
|
+
* @static
|
|
56540
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
56541
|
+
* @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
|
|
56542
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56543
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56544
|
+
*/
|
|
56545
|
+
AutoSaveConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
56546
|
+
if (!(reader instanceof $Reader))
|
|
56547
|
+
reader = new $Reader(reader);
|
|
56548
|
+
return this.decode(reader, reader.uint32());
|
|
56549
|
+
};
|
|
56550
|
+
|
|
56551
|
+
/**
|
|
56552
|
+
* Verifies an AutoSaveConfig message.
|
|
56553
|
+
* @function verify
|
|
56554
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56555
|
+
* @static
|
|
56556
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
56557
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
56558
|
+
*/
|
|
56559
|
+
AutoSaveConfig.verify = function verify(message) {
|
|
56560
|
+
if (typeof message !== "object" || message === null)
|
|
56561
|
+
return "object expected";
|
|
56562
|
+
if (message.disabled != null && message.hasOwnProperty("disabled"))
|
|
56563
|
+
if (typeof message.disabled !== "boolean")
|
|
56564
|
+
return "disabled: boolean expected";
|
|
56565
|
+
return null;
|
|
56566
|
+
};
|
|
56567
|
+
|
|
56568
|
+
/**
|
|
56569
|
+
* Creates an AutoSaveConfig message from a plain object. Also converts values to their respective internal types.
|
|
56570
|
+
* @function fromObject
|
|
56571
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56572
|
+
* @static
|
|
56573
|
+
* @param {Object.<string,*>} object Plain object
|
|
56574
|
+
* @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
|
|
56575
|
+
*/
|
|
56576
|
+
AutoSaveConfig.fromObject = function fromObject(object) {
|
|
56577
|
+
if (object instanceof $root.replit.goval.api.AutoSaveConfig)
|
|
56578
|
+
return object;
|
|
56579
|
+
var message = new $root.replit.goval.api.AutoSaveConfig();
|
|
56580
|
+
if (object.disabled != null)
|
|
56581
|
+
message.disabled = Boolean(object.disabled);
|
|
56582
|
+
return message;
|
|
56583
|
+
};
|
|
56584
|
+
|
|
56585
|
+
/**
|
|
56586
|
+
* Creates a plain object from an AutoSaveConfig message. Also converts values to other types if specified.
|
|
56587
|
+
* @function toObject
|
|
56588
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56589
|
+
* @static
|
|
56590
|
+
* @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig
|
|
56591
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
56592
|
+
* @returns {Object.<string,*>} Plain object
|
|
56593
|
+
*/
|
|
56594
|
+
AutoSaveConfig.toObject = function toObject(message, options) {
|
|
56595
|
+
if (!options)
|
|
56596
|
+
options = {};
|
|
56597
|
+
var object = {};
|
|
56598
|
+
if (options.defaults)
|
|
56599
|
+
object.disabled = false;
|
|
56600
|
+
if (message.disabled != null && message.hasOwnProperty("disabled"))
|
|
56601
|
+
object.disabled = message.disabled;
|
|
56602
|
+
return object;
|
|
56603
|
+
};
|
|
56604
|
+
|
|
56605
|
+
/**
|
|
56606
|
+
* Converts this AutoSaveConfig to JSON.
|
|
56607
|
+
* @function toJSON
|
|
56608
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56609
|
+
* @instance
|
|
56610
|
+
* @returns {Object.<string,*>} JSON object
|
|
56611
|
+
*/
|
|
56612
|
+
AutoSaveConfig.prototype.toJSON = function toJSON() {
|
|
56613
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
56614
|
+
};
|
|
56615
|
+
|
|
56616
|
+
/**
|
|
56617
|
+
* Gets the default type url for AutoSaveConfig
|
|
56618
|
+
* @function getTypeUrl
|
|
56619
|
+
* @memberof replit.goval.api.AutoSaveConfig
|
|
56620
|
+
* @static
|
|
56621
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
56622
|
+
* @returns {string} The default type url
|
|
56623
|
+
*/
|
|
56624
|
+
AutoSaveConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
56625
|
+
if (typeUrlPrefix === undefined) {
|
|
56626
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
56627
|
+
}
|
|
56628
|
+
return typeUrlPrefix + "/replit.goval.api.AutoSaveConfig";
|
|
56629
|
+
};
|
|
56630
|
+
|
|
56631
|
+
return AutoSaveConfig;
|
|
56632
|
+
})();
|
|
56633
|
+
|
|
56225
56634
|
api.ToolchainGetRequest = (function() {
|
|
56226
56635
|
|
|
56227
56636
|
/**
|
|
@@ -57938,6 +58347,8 @@
|
|
|
57938
58347
|
* @property {string|null} [language] LanguageServerOption language
|
|
57939
58348
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] LanguageServerOption fileTypeAttrs
|
|
57940
58349
|
* @property {replit.goval.api.LanguageServerConfig|replit.goval.api.ILanguageServerConfig|null} [config] LanguageServerOption config
|
|
58350
|
+
* @property {string|null} [moduleId] LanguageServerOption moduleId
|
|
58351
|
+
* @property {string|null} [displayVersion] LanguageServerOption displayVersion
|
|
57941
58352
|
*/
|
|
57942
58353
|
|
|
57943
58354
|
/**
|
|
@@ -57994,6 +58405,22 @@
|
|
|
57994
58405
|
*/
|
|
57995
58406
|
LanguageServerOption.prototype.config = null;
|
|
57996
58407
|
|
|
58408
|
+
/**
|
|
58409
|
+
* LanguageServerOption moduleId.
|
|
58410
|
+
* @member {string} moduleId
|
|
58411
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
58412
|
+
* @instance
|
|
58413
|
+
*/
|
|
58414
|
+
LanguageServerOption.prototype.moduleId = "";
|
|
58415
|
+
|
|
58416
|
+
/**
|
|
58417
|
+
* LanguageServerOption displayVersion.
|
|
58418
|
+
* @member {string} displayVersion
|
|
58419
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
58420
|
+
* @instance
|
|
58421
|
+
*/
|
|
58422
|
+
LanguageServerOption.prototype.displayVersion = "";
|
|
58423
|
+
|
|
57997
58424
|
/**
|
|
57998
58425
|
* Creates a new LanguageServerOption instance using the specified properties.
|
|
57999
58426
|
* @function create
|
|
@@ -58028,6 +58455,10 @@
|
|
|
58028
58455
|
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
58029
58456
|
if (message.config != null && Object.hasOwnProperty.call(message, "config"))
|
|
58030
58457
|
$root.replit.goval.api.LanguageServerConfig.encode(message.config, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
58458
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
58459
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.moduleId);
|
|
58460
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
58461
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.displayVersion);
|
|
58031
58462
|
return writer;
|
|
58032
58463
|
};
|
|
58033
58464
|
|
|
@@ -58082,6 +58513,14 @@
|
|
|
58082
58513
|
message.config = $root.replit.goval.api.LanguageServerConfig.decode(reader, reader.uint32());
|
|
58083
58514
|
break;
|
|
58084
58515
|
}
|
|
58516
|
+
case 6: {
|
|
58517
|
+
message.moduleId = reader.string();
|
|
58518
|
+
break;
|
|
58519
|
+
}
|
|
58520
|
+
case 7: {
|
|
58521
|
+
message.displayVersion = reader.string();
|
|
58522
|
+
break;
|
|
58523
|
+
}
|
|
58085
58524
|
default:
|
|
58086
58525
|
reader.skipType(tag & 7);
|
|
58087
58526
|
break;
|
|
@@ -58136,6 +58575,12 @@
|
|
|
58136
58575
|
if (error)
|
|
58137
58576
|
return "config." + error;
|
|
58138
58577
|
}
|
|
58578
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
58579
|
+
if (!$util.isString(message.moduleId))
|
|
58580
|
+
return "moduleId: string expected";
|
|
58581
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
58582
|
+
if (!$util.isString(message.displayVersion))
|
|
58583
|
+
return "displayVersion: string expected";
|
|
58139
58584
|
return null;
|
|
58140
58585
|
};
|
|
58141
58586
|
|
|
@@ -58167,6 +58612,10 @@
|
|
|
58167
58612
|
throw TypeError(".replit.goval.api.LanguageServerOption.config: object expected");
|
|
58168
58613
|
message.config = $root.replit.goval.api.LanguageServerConfig.fromObject(object.config);
|
|
58169
58614
|
}
|
|
58615
|
+
if (object.moduleId != null)
|
|
58616
|
+
message.moduleId = String(object.moduleId);
|
|
58617
|
+
if (object.displayVersion != null)
|
|
58618
|
+
message.displayVersion = String(object.displayVersion);
|
|
58170
58619
|
return message;
|
|
58171
58620
|
};
|
|
58172
58621
|
|
|
@@ -58189,6 +58638,8 @@
|
|
|
58189
58638
|
object.language = "";
|
|
58190
58639
|
object.fileTypeAttrs = null;
|
|
58191
58640
|
object.config = null;
|
|
58641
|
+
object.moduleId = "";
|
|
58642
|
+
object.displayVersion = "";
|
|
58192
58643
|
}
|
|
58193
58644
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
58194
58645
|
object.id = message.id;
|
|
@@ -58200,6 +58651,10 @@
|
|
|
58200
58651
|
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
58201
58652
|
if (message.config != null && message.hasOwnProperty("config"))
|
|
58202
58653
|
object.config = $root.replit.goval.api.LanguageServerConfig.toObject(message.config, options);
|
|
58654
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
58655
|
+
object.moduleId = message.moduleId;
|
|
58656
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
58657
|
+
object.displayVersion = message.displayVersion;
|
|
58203
58658
|
return object;
|
|
58204
58659
|
};
|
|
58205
58660
|
|
|
@@ -58527,6 +58982,8 @@
|
|
|
58527
58982
|
* @property {boolean|null} [enabledForHosting] PackagerOption enabledForHosting
|
|
58528
58983
|
* @property {boolean|null} [packageSearch] PackagerOption packageSearch
|
|
58529
58984
|
* @property {boolean|null} [guessImports] PackagerOption guessImports
|
|
58985
|
+
* @property {string|null} [moduleId] PackagerOption moduleId
|
|
58986
|
+
* @property {string|null} [displayVersion] PackagerOption displayVersion
|
|
58530
58987
|
*/
|
|
58531
58988
|
|
|
58532
58989
|
/**
|
|
@@ -58600,6 +59057,22 @@
|
|
|
58600
59057
|
*/
|
|
58601
59058
|
PackagerOption.prototype.guessImports = false;
|
|
58602
59059
|
|
|
59060
|
+
/**
|
|
59061
|
+
* PackagerOption moduleId.
|
|
59062
|
+
* @member {string} moduleId
|
|
59063
|
+
* @memberof replit.goval.api.PackagerOption
|
|
59064
|
+
* @instance
|
|
59065
|
+
*/
|
|
59066
|
+
PackagerOption.prototype.moduleId = "";
|
|
59067
|
+
|
|
59068
|
+
/**
|
|
59069
|
+
* PackagerOption displayVersion.
|
|
59070
|
+
* @member {string} displayVersion
|
|
59071
|
+
* @memberof replit.goval.api.PackagerOption
|
|
59072
|
+
* @instance
|
|
59073
|
+
*/
|
|
59074
|
+
PackagerOption.prototype.displayVersion = "";
|
|
59075
|
+
|
|
58603
59076
|
/**
|
|
58604
59077
|
* Creates a new PackagerOption instance using the specified properties.
|
|
58605
59078
|
* @function create
|
|
@@ -58639,6 +59112,10 @@
|
|
|
58639
59112
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.packageSearch);
|
|
58640
59113
|
if (message.guessImports != null && Object.hasOwnProperty.call(message, "guessImports"))
|
|
58641
59114
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.guessImports);
|
|
59115
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
59116
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.moduleId);
|
|
59117
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
59118
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.displayVersion);
|
|
58642
59119
|
return writer;
|
|
58643
59120
|
};
|
|
58644
59121
|
|
|
@@ -58703,6 +59180,14 @@
|
|
|
58703
59180
|
message.guessImports = reader.bool();
|
|
58704
59181
|
break;
|
|
58705
59182
|
}
|
|
59183
|
+
case 8: {
|
|
59184
|
+
message.moduleId = reader.string();
|
|
59185
|
+
break;
|
|
59186
|
+
}
|
|
59187
|
+
case 9: {
|
|
59188
|
+
message.displayVersion = reader.string();
|
|
59189
|
+
break;
|
|
59190
|
+
}
|
|
58706
59191
|
default:
|
|
58707
59192
|
reader.skipType(tag & 7);
|
|
58708
59193
|
break;
|
|
@@ -58763,6 +59248,12 @@
|
|
|
58763
59248
|
if (message.guessImports != null && message.hasOwnProperty("guessImports"))
|
|
58764
59249
|
if (typeof message.guessImports !== "boolean")
|
|
58765
59250
|
return "guessImports: boolean expected";
|
|
59251
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59252
|
+
if (!$util.isString(message.moduleId))
|
|
59253
|
+
return "moduleId: string expected";
|
|
59254
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59255
|
+
if (!$util.isString(message.displayVersion))
|
|
59256
|
+
return "displayVersion: string expected";
|
|
58766
59257
|
return null;
|
|
58767
59258
|
};
|
|
58768
59259
|
|
|
@@ -58797,6 +59288,10 @@
|
|
|
58797
59288
|
message.packageSearch = Boolean(object.packageSearch);
|
|
58798
59289
|
if (object.guessImports != null)
|
|
58799
59290
|
message.guessImports = Boolean(object.guessImports);
|
|
59291
|
+
if (object.moduleId != null)
|
|
59292
|
+
message.moduleId = String(object.moduleId);
|
|
59293
|
+
if (object.displayVersion != null)
|
|
59294
|
+
message.displayVersion = String(object.displayVersion);
|
|
58800
59295
|
return message;
|
|
58801
59296
|
};
|
|
58802
59297
|
|
|
@@ -58822,6 +59317,8 @@
|
|
|
58822
59317
|
object.enabledForHosting = false;
|
|
58823
59318
|
object.packageSearch = false;
|
|
58824
59319
|
object.guessImports = false;
|
|
59320
|
+
object.moduleId = "";
|
|
59321
|
+
object.displayVersion = "";
|
|
58825
59322
|
}
|
|
58826
59323
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
58827
59324
|
object.id = message.id;
|
|
@@ -58840,6 +59337,10 @@
|
|
|
58840
59337
|
object.packageSearch = message.packageSearch;
|
|
58841
59338
|
if (message.guessImports != null && message.hasOwnProperty("guessImports"))
|
|
58842
59339
|
object.guessImports = message.guessImports;
|
|
59340
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59341
|
+
object.moduleId = message.moduleId;
|
|
59342
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59343
|
+
object.displayVersion = message.displayVersion;
|
|
58843
59344
|
return object;
|
|
58844
59345
|
};
|
|
58845
59346
|
|
|
@@ -58882,6 +59383,8 @@
|
|
|
58882
59383
|
* @property {string|null} [name] FormatterOption name
|
|
58883
59384
|
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [startCommand] FormatterOption startCommand
|
|
58884
59385
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] FormatterOption fileTypeAttrs
|
|
59386
|
+
* @property {string|null} [moduleId] FormatterOption moduleId
|
|
59387
|
+
* @property {string|null} [displayVersion] FormatterOption displayVersion
|
|
58885
59388
|
*/
|
|
58886
59389
|
|
|
58887
59390
|
/**
|
|
@@ -58930,6 +59433,22 @@
|
|
|
58930
59433
|
*/
|
|
58931
59434
|
FormatterOption.prototype.fileTypeAttrs = null;
|
|
58932
59435
|
|
|
59436
|
+
/**
|
|
59437
|
+
* FormatterOption moduleId.
|
|
59438
|
+
* @member {string} moduleId
|
|
59439
|
+
* @memberof replit.goval.api.FormatterOption
|
|
59440
|
+
* @instance
|
|
59441
|
+
*/
|
|
59442
|
+
FormatterOption.prototype.moduleId = "";
|
|
59443
|
+
|
|
59444
|
+
/**
|
|
59445
|
+
* FormatterOption displayVersion.
|
|
59446
|
+
* @member {string} displayVersion
|
|
59447
|
+
* @memberof replit.goval.api.FormatterOption
|
|
59448
|
+
* @instance
|
|
59449
|
+
*/
|
|
59450
|
+
FormatterOption.prototype.displayVersion = "";
|
|
59451
|
+
|
|
58933
59452
|
/**
|
|
58934
59453
|
* Creates a new FormatterOption instance using the specified properties.
|
|
58935
59454
|
* @function create
|
|
@@ -58962,6 +59481,10 @@
|
|
|
58962
59481
|
$root.replit.goval.api.Exec.encode(message.startCommand, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
58963
59482
|
if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
|
|
58964
59483
|
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
59484
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
59485
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.moduleId);
|
|
59486
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
59487
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.displayVersion);
|
|
58965
59488
|
return writer;
|
|
58966
59489
|
};
|
|
58967
59490
|
|
|
@@ -59012,6 +59535,14 @@
|
|
|
59012
59535
|
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
|
|
59013
59536
|
break;
|
|
59014
59537
|
}
|
|
59538
|
+
case 5: {
|
|
59539
|
+
message.moduleId = reader.string();
|
|
59540
|
+
break;
|
|
59541
|
+
}
|
|
59542
|
+
case 6: {
|
|
59543
|
+
message.displayVersion = reader.string();
|
|
59544
|
+
break;
|
|
59545
|
+
}
|
|
59015
59546
|
default:
|
|
59016
59547
|
reader.skipType(tag & 7);
|
|
59017
59548
|
break;
|
|
@@ -59063,6 +59594,12 @@
|
|
|
59063
59594
|
if (error)
|
|
59064
59595
|
return "fileTypeAttrs." + error;
|
|
59065
59596
|
}
|
|
59597
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59598
|
+
if (!$util.isString(message.moduleId))
|
|
59599
|
+
return "moduleId: string expected";
|
|
59600
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59601
|
+
if (!$util.isString(message.displayVersion))
|
|
59602
|
+
return "displayVersion: string expected";
|
|
59066
59603
|
return null;
|
|
59067
59604
|
};
|
|
59068
59605
|
|
|
@@ -59092,6 +59629,10 @@
|
|
|
59092
59629
|
throw TypeError(".replit.goval.api.FormatterOption.fileTypeAttrs: object expected");
|
|
59093
59630
|
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
|
|
59094
59631
|
}
|
|
59632
|
+
if (object.moduleId != null)
|
|
59633
|
+
message.moduleId = String(object.moduleId);
|
|
59634
|
+
if (object.displayVersion != null)
|
|
59635
|
+
message.displayVersion = String(object.displayVersion);
|
|
59095
59636
|
return message;
|
|
59096
59637
|
};
|
|
59097
59638
|
|
|
@@ -59113,6 +59654,8 @@
|
|
|
59113
59654
|
object.name = "";
|
|
59114
59655
|
object.startCommand = null;
|
|
59115
59656
|
object.fileTypeAttrs = null;
|
|
59657
|
+
object.moduleId = "";
|
|
59658
|
+
object.displayVersion = "";
|
|
59116
59659
|
}
|
|
59117
59660
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
59118
59661
|
object.id = message.id;
|
|
@@ -59122,6 +59665,10 @@
|
|
|
59122
59665
|
object.startCommand = $root.replit.goval.api.Exec.toObject(message.startCommand, options);
|
|
59123
59666
|
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
|
|
59124
59667
|
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
59668
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59669
|
+
object.moduleId = message.moduleId;
|
|
59670
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59671
|
+
object.displayVersion = message.displayVersion;
|
|
59125
59672
|
return object;
|
|
59126
59673
|
};
|
|
59127
59674
|
|
package/package.json
CHANGED
package/testapi.js
DELETED
package/testapi.ts
DELETED