@replit/protocol 0.3.46 → 0.3.47
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 +60 -0
- package/main/index.js +295 -1
- package/package.json +1 -1
- package/iotester/index.js.flow +0 -2947
- package/main/index.js.flow +0 -48599
- package/testapi.js +0 -3
- package/testapi.ts +0 -3
package/main/index.js
CHANGED
|
@@ -55068,6 +55068,9 @@
|
|
|
55068
55068
|
* @property {Array.<replit.goval.api.NixModulesRegistryEntry|replit.goval.api.INixModulesRegistryEntry>|null} [modules] NixModulesGetRegistryResponse modules
|
|
55069
55069
|
* @property {Object.<string,replit.goval.api.NixModulesUpgradeMapEntry|replit.goval.api.INixModulesUpgradeMapEntry>|null} [autoUpgrade] NixModulesGetRegistryResponse autoUpgrade
|
|
55070
55070
|
* @property {Object.<string,replit.goval.api.NixModulesUpgradeMapEntry|replit.goval.api.INixModulesUpgradeMapEntry>|null} [recommendUpgrade] NixModulesGetRegistryResponse recommendUpgrade
|
|
55071
|
+
* @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] NixModulesGetRegistryResponse languageServers
|
|
55072
|
+
* @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModulesGetRegistryResponse formatters
|
|
55073
|
+
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModulesGetRegistryResponse packagers
|
|
55071
55074
|
*/
|
|
55072
55075
|
|
|
55073
55076
|
/**
|
|
@@ -55081,6 +55084,9 @@
|
|
|
55081
55084
|
this.modules = [];
|
|
55082
55085
|
this.autoUpgrade = {};
|
|
55083
55086
|
this.recommendUpgrade = {};
|
|
55087
|
+
this.languageServers = [];
|
|
55088
|
+
this.formatters = [];
|
|
55089
|
+
this.packagers = [];
|
|
55084
55090
|
if (properties)
|
|
55085
55091
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
55086
55092
|
if (properties[keys[i]] != null)
|
|
@@ -55111,6 +55117,30 @@
|
|
|
55111
55117
|
*/
|
|
55112
55118
|
NixModulesGetRegistryResponse.prototype.recommendUpgrade = $util.emptyObject;
|
|
55113
55119
|
|
|
55120
|
+
/**
|
|
55121
|
+
* NixModulesGetRegistryResponse languageServers.
|
|
55122
|
+
* @member {Array.<replit.goval.api.LanguageServerOption>} languageServers
|
|
55123
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55124
|
+
* @instance
|
|
55125
|
+
*/
|
|
55126
|
+
NixModulesGetRegistryResponse.prototype.languageServers = $util.emptyArray;
|
|
55127
|
+
|
|
55128
|
+
/**
|
|
55129
|
+
* NixModulesGetRegistryResponse formatters.
|
|
55130
|
+
* @member {Array.<replit.goval.api.FormatterOption>} formatters
|
|
55131
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55132
|
+
* @instance
|
|
55133
|
+
*/
|
|
55134
|
+
NixModulesGetRegistryResponse.prototype.formatters = $util.emptyArray;
|
|
55135
|
+
|
|
55136
|
+
/**
|
|
55137
|
+
* NixModulesGetRegistryResponse packagers.
|
|
55138
|
+
* @member {Array.<replit.goval.api.PackagerOption>} packagers
|
|
55139
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
55140
|
+
* @instance
|
|
55141
|
+
*/
|
|
55142
|
+
NixModulesGetRegistryResponse.prototype.packagers = $util.emptyArray;
|
|
55143
|
+
|
|
55114
55144
|
/**
|
|
55115
55145
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
55116
55146
|
* @function create
|
|
@@ -55148,6 +55178,15 @@
|
|
|
55148
55178
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
55149
55179
|
$root.replit.goval.api.NixModulesUpgradeMapEntry.encode(message.recommendUpgrade[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
55150
55180
|
}
|
|
55181
|
+
if (message.languageServers != null && message.languageServers.length)
|
|
55182
|
+
for (var i = 0; i < message.languageServers.length; ++i)
|
|
55183
|
+
$root.replit.goval.api.LanguageServerOption.encode(message.languageServers[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
55184
|
+
if (message.formatters != null && message.formatters.length)
|
|
55185
|
+
for (var i = 0; i < message.formatters.length; ++i)
|
|
55186
|
+
$root.replit.goval.api.FormatterOption.encode(message.formatters[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
55187
|
+
if (message.packagers != null && message.packagers.length)
|
|
55188
|
+
for (var i = 0; i < message.packagers.length; ++i)
|
|
55189
|
+
$root.replit.goval.api.PackagerOption.encode(message.packagers[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
55151
55190
|
return writer;
|
|
55152
55191
|
};
|
|
55153
55192
|
|
|
@@ -55234,6 +55273,24 @@
|
|
|
55234
55273
|
message.recommendUpgrade[key] = value;
|
|
55235
55274
|
break;
|
|
55236
55275
|
}
|
|
55276
|
+
case 4: {
|
|
55277
|
+
if (!(message.languageServers && message.languageServers.length))
|
|
55278
|
+
message.languageServers = [];
|
|
55279
|
+
message.languageServers.push($root.replit.goval.api.LanguageServerOption.decode(reader, reader.uint32()));
|
|
55280
|
+
break;
|
|
55281
|
+
}
|
|
55282
|
+
case 5: {
|
|
55283
|
+
if (!(message.formatters && message.formatters.length))
|
|
55284
|
+
message.formatters = [];
|
|
55285
|
+
message.formatters.push($root.replit.goval.api.FormatterOption.decode(reader, reader.uint32()));
|
|
55286
|
+
break;
|
|
55287
|
+
}
|
|
55288
|
+
case 6: {
|
|
55289
|
+
if (!(message.packagers && message.packagers.length))
|
|
55290
|
+
message.packagers = [];
|
|
55291
|
+
message.packagers.push($root.replit.goval.api.PackagerOption.decode(reader, reader.uint32()));
|
|
55292
|
+
break;
|
|
55293
|
+
}
|
|
55237
55294
|
default:
|
|
55238
55295
|
reader.skipType(tag & 7);
|
|
55239
55296
|
break;
|
|
@@ -55298,6 +55355,33 @@
|
|
|
55298
55355
|
return "recommendUpgrade." + error;
|
|
55299
55356
|
}
|
|
55300
55357
|
}
|
|
55358
|
+
if (message.languageServers != null && message.hasOwnProperty("languageServers")) {
|
|
55359
|
+
if (!Array.isArray(message.languageServers))
|
|
55360
|
+
return "languageServers: array expected";
|
|
55361
|
+
for (var i = 0; i < message.languageServers.length; ++i) {
|
|
55362
|
+
var error = $root.replit.goval.api.LanguageServerOption.verify(message.languageServers[i]);
|
|
55363
|
+
if (error)
|
|
55364
|
+
return "languageServers." + error;
|
|
55365
|
+
}
|
|
55366
|
+
}
|
|
55367
|
+
if (message.formatters != null && message.hasOwnProperty("formatters")) {
|
|
55368
|
+
if (!Array.isArray(message.formatters))
|
|
55369
|
+
return "formatters: array expected";
|
|
55370
|
+
for (var i = 0; i < message.formatters.length; ++i) {
|
|
55371
|
+
var error = $root.replit.goval.api.FormatterOption.verify(message.formatters[i]);
|
|
55372
|
+
if (error)
|
|
55373
|
+
return "formatters." + error;
|
|
55374
|
+
}
|
|
55375
|
+
}
|
|
55376
|
+
if (message.packagers != null && message.hasOwnProperty("packagers")) {
|
|
55377
|
+
if (!Array.isArray(message.packagers))
|
|
55378
|
+
return "packagers: array expected";
|
|
55379
|
+
for (var i = 0; i < message.packagers.length; ++i) {
|
|
55380
|
+
var error = $root.replit.goval.api.PackagerOption.verify(message.packagers[i]);
|
|
55381
|
+
if (error)
|
|
55382
|
+
return "packagers." + error;
|
|
55383
|
+
}
|
|
55384
|
+
}
|
|
55301
55385
|
return null;
|
|
55302
55386
|
};
|
|
55303
55387
|
|
|
@@ -55343,6 +55427,36 @@
|
|
|
55343
55427
|
message.recommendUpgrade[keys[i]] = $root.replit.goval.api.NixModulesUpgradeMapEntry.fromObject(object.recommendUpgrade[keys[i]]);
|
|
55344
55428
|
}
|
|
55345
55429
|
}
|
|
55430
|
+
if (object.languageServers) {
|
|
55431
|
+
if (!Array.isArray(object.languageServers))
|
|
55432
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.languageServers: array expected");
|
|
55433
|
+
message.languageServers = [];
|
|
55434
|
+
for (var i = 0; i < object.languageServers.length; ++i) {
|
|
55435
|
+
if (typeof object.languageServers[i] !== "object")
|
|
55436
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.languageServers: object expected");
|
|
55437
|
+
message.languageServers[i] = $root.replit.goval.api.LanguageServerOption.fromObject(object.languageServers[i]);
|
|
55438
|
+
}
|
|
55439
|
+
}
|
|
55440
|
+
if (object.formatters) {
|
|
55441
|
+
if (!Array.isArray(object.formatters))
|
|
55442
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.formatters: array expected");
|
|
55443
|
+
message.formatters = [];
|
|
55444
|
+
for (var i = 0; i < object.formatters.length; ++i) {
|
|
55445
|
+
if (typeof object.formatters[i] !== "object")
|
|
55446
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.formatters: object expected");
|
|
55447
|
+
message.formatters[i] = $root.replit.goval.api.FormatterOption.fromObject(object.formatters[i]);
|
|
55448
|
+
}
|
|
55449
|
+
}
|
|
55450
|
+
if (object.packagers) {
|
|
55451
|
+
if (!Array.isArray(object.packagers))
|
|
55452
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.packagers: array expected");
|
|
55453
|
+
message.packagers = [];
|
|
55454
|
+
for (var i = 0; i < object.packagers.length; ++i) {
|
|
55455
|
+
if (typeof object.packagers[i] !== "object")
|
|
55456
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.packagers: object expected");
|
|
55457
|
+
message.packagers[i] = $root.replit.goval.api.PackagerOption.fromObject(object.packagers[i]);
|
|
55458
|
+
}
|
|
55459
|
+
}
|
|
55346
55460
|
return message;
|
|
55347
55461
|
};
|
|
55348
55462
|
|
|
@@ -55359,8 +55473,12 @@
|
|
|
55359
55473
|
if (!options)
|
|
55360
55474
|
options = {};
|
|
55361
55475
|
var object = {};
|
|
55362
|
-
if (options.arrays || options.defaults)
|
|
55476
|
+
if (options.arrays || options.defaults) {
|
|
55363
55477
|
object.modules = [];
|
|
55478
|
+
object.languageServers = [];
|
|
55479
|
+
object.formatters = [];
|
|
55480
|
+
object.packagers = [];
|
|
55481
|
+
}
|
|
55364
55482
|
if (options.objects || options.defaults) {
|
|
55365
55483
|
object.autoUpgrade = {};
|
|
55366
55484
|
object.recommendUpgrade = {};
|
|
@@ -55381,6 +55499,21 @@
|
|
|
55381
55499
|
for (var j = 0; j < keys2.length; ++j)
|
|
55382
55500
|
object.recommendUpgrade[keys2[j]] = $root.replit.goval.api.NixModulesUpgradeMapEntry.toObject(message.recommendUpgrade[keys2[j]], options);
|
|
55383
55501
|
}
|
|
55502
|
+
if (message.languageServers && message.languageServers.length) {
|
|
55503
|
+
object.languageServers = [];
|
|
55504
|
+
for (var j = 0; j < message.languageServers.length; ++j)
|
|
55505
|
+
object.languageServers[j] = $root.replit.goval.api.LanguageServerOption.toObject(message.languageServers[j], options);
|
|
55506
|
+
}
|
|
55507
|
+
if (message.formatters && message.formatters.length) {
|
|
55508
|
+
object.formatters = [];
|
|
55509
|
+
for (var j = 0; j < message.formatters.length; ++j)
|
|
55510
|
+
object.formatters[j] = $root.replit.goval.api.FormatterOption.toObject(message.formatters[j], options);
|
|
55511
|
+
}
|
|
55512
|
+
if (message.packagers && message.packagers.length) {
|
|
55513
|
+
object.packagers = [];
|
|
55514
|
+
for (var j = 0; j < message.packagers.length; ++j)
|
|
55515
|
+
object.packagers[j] = $root.replit.goval.api.PackagerOption.toObject(message.packagers[j], options);
|
|
55516
|
+
}
|
|
55384
55517
|
return object;
|
|
55385
55518
|
};
|
|
55386
55519
|
|
|
@@ -55427,6 +55560,7 @@
|
|
|
55427
55560
|
* @property {Array.<string>|null} [tags] NixModulesRegistryEntry tags
|
|
55428
55561
|
* @property {string|null} [commit] NixModulesRegistryEntry commit
|
|
55429
55562
|
* @property {string|null} [path] NixModulesRegistryEntry path
|
|
55563
|
+
* @property {string|null} [displayVersion] NixModulesRegistryEntry displayVersion
|
|
55430
55564
|
*/
|
|
55431
55565
|
|
|
55432
55566
|
/**
|
|
@@ -55508,6 +55642,14 @@
|
|
|
55508
55642
|
*/
|
|
55509
55643
|
NixModulesRegistryEntry.prototype.path = "";
|
|
55510
55644
|
|
|
55645
|
+
/**
|
|
55646
|
+
* NixModulesRegistryEntry displayVersion.
|
|
55647
|
+
* @member {string} displayVersion
|
|
55648
|
+
* @memberof replit.goval.api.NixModulesRegistryEntry
|
|
55649
|
+
* @instance
|
|
55650
|
+
*/
|
|
55651
|
+
NixModulesRegistryEntry.prototype.displayVersion = "";
|
|
55652
|
+
|
|
55511
55653
|
/**
|
|
55512
55654
|
* Creates a new NixModulesRegistryEntry instance using the specified properties.
|
|
55513
55655
|
* @function create
|
|
@@ -55549,6 +55691,8 @@
|
|
|
55549
55691
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.commit);
|
|
55550
55692
|
if (message.path != null && Object.hasOwnProperty.call(message, "path"))
|
|
55551
55693
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.path);
|
|
55694
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
55695
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.displayVersion);
|
|
55552
55696
|
return writer;
|
|
55553
55697
|
};
|
|
55554
55698
|
|
|
@@ -55617,6 +55761,10 @@
|
|
|
55617
55761
|
message.path = reader.string();
|
|
55618
55762
|
break;
|
|
55619
55763
|
}
|
|
55764
|
+
case 9: {
|
|
55765
|
+
message.displayVersion = reader.string();
|
|
55766
|
+
break;
|
|
55767
|
+
}
|
|
55620
55768
|
default:
|
|
55621
55769
|
reader.skipType(tag & 7);
|
|
55622
55770
|
break;
|
|
@@ -55680,6 +55828,9 @@
|
|
|
55680
55828
|
if (message.path != null && message.hasOwnProperty("path"))
|
|
55681
55829
|
if (!$util.isString(message.path))
|
|
55682
55830
|
return "path: string expected";
|
|
55831
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55832
|
+
if (!$util.isString(message.displayVersion))
|
|
55833
|
+
return "displayVersion: string expected";
|
|
55683
55834
|
return null;
|
|
55684
55835
|
};
|
|
55685
55836
|
|
|
@@ -55716,6 +55867,8 @@
|
|
|
55716
55867
|
message.commit = String(object.commit);
|
|
55717
55868
|
if (object.path != null)
|
|
55718
55869
|
message.path = String(object.path);
|
|
55870
|
+
if (object.displayVersion != null)
|
|
55871
|
+
message.displayVersion = String(object.displayVersion);
|
|
55719
55872
|
return message;
|
|
55720
55873
|
};
|
|
55721
55874
|
|
|
@@ -55742,6 +55895,7 @@
|
|
|
55742
55895
|
object.tag = "";
|
|
55743
55896
|
object.commit = "";
|
|
55744
55897
|
object.path = "";
|
|
55898
|
+
object.displayVersion = "";
|
|
55745
55899
|
}
|
|
55746
55900
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
55747
55901
|
object.id = message.id;
|
|
@@ -55762,6 +55916,8 @@
|
|
|
55762
55916
|
object.commit = message.commit;
|
|
55763
55917
|
if (message.path != null && message.hasOwnProperty("path"))
|
|
55764
55918
|
object.path = message.path;
|
|
55919
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55920
|
+
object.displayVersion = message.displayVersion;
|
|
55765
55921
|
return object;
|
|
55766
55922
|
};
|
|
55767
55923
|
|
|
@@ -57938,6 +58094,8 @@
|
|
|
57938
58094
|
* @property {string|null} [language] LanguageServerOption language
|
|
57939
58095
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] LanguageServerOption fileTypeAttrs
|
|
57940
58096
|
* @property {replit.goval.api.LanguageServerConfig|replit.goval.api.ILanguageServerConfig|null} [config] LanguageServerOption config
|
|
58097
|
+
* @property {string|null} [moduleId] LanguageServerOption moduleId
|
|
58098
|
+
* @property {string|null} [displayVersion] LanguageServerOption displayVersion
|
|
57941
58099
|
*/
|
|
57942
58100
|
|
|
57943
58101
|
/**
|
|
@@ -57994,6 +58152,22 @@
|
|
|
57994
58152
|
*/
|
|
57995
58153
|
LanguageServerOption.prototype.config = null;
|
|
57996
58154
|
|
|
58155
|
+
/**
|
|
58156
|
+
* LanguageServerOption moduleId.
|
|
58157
|
+
* @member {string} moduleId
|
|
58158
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
58159
|
+
* @instance
|
|
58160
|
+
*/
|
|
58161
|
+
LanguageServerOption.prototype.moduleId = "";
|
|
58162
|
+
|
|
58163
|
+
/**
|
|
58164
|
+
* LanguageServerOption displayVersion.
|
|
58165
|
+
* @member {string} displayVersion
|
|
58166
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
58167
|
+
* @instance
|
|
58168
|
+
*/
|
|
58169
|
+
LanguageServerOption.prototype.displayVersion = "";
|
|
58170
|
+
|
|
57997
58171
|
/**
|
|
57998
58172
|
* Creates a new LanguageServerOption instance using the specified properties.
|
|
57999
58173
|
* @function create
|
|
@@ -58028,6 +58202,10 @@
|
|
|
58028
58202
|
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
58029
58203
|
if (message.config != null && Object.hasOwnProperty.call(message, "config"))
|
|
58030
58204
|
$root.replit.goval.api.LanguageServerConfig.encode(message.config, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
58205
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
58206
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.moduleId);
|
|
58207
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
58208
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.displayVersion);
|
|
58031
58209
|
return writer;
|
|
58032
58210
|
};
|
|
58033
58211
|
|
|
@@ -58082,6 +58260,14 @@
|
|
|
58082
58260
|
message.config = $root.replit.goval.api.LanguageServerConfig.decode(reader, reader.uint32());
|
|
58083
58261
|
break;
|
|
58084
58262
|
}
|
|
58263
|
+
case 6: {
|
|
58264
|
+
message.moduleId = reader.string();
|
|
58265
|
+
break;
|
|
58266
|
+
}
|
|
58267
|
+
case 7: {
|
|
58268
|
+
message.displayVersion = reader.string();
|
|
58269
|
+
break;
|
|
58270
|
+
}
|
|
58085
58271
|
default:
|
|
58086
58272
|
reader.skipType(tag & 7);
|
|
58087
58273
|
break;
|
|
@@ -58136,6 +58322,12 @@
|
|
|
58136
58322
|
if (error)
|
|
58137
58323
|
return "config." + error;
|
|
58138
58324
|
}
|
|
58325
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
58326
|
+
if (!$util.isString(message.moduleId))
|
|
58327
|
+
return "moduleId: string expected";
|
|
58328
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
58329
|
+
if (!$util.isString(message.displayVersion))
|
|
58330
|
+
return "displayVersion: string expected";
|
|
58139
58331
|
return null;
|
|
58140
58332
|
};
|
|
58141
58333
|
|
|
@@ -58167,6 +58359,10 @@
|
|
|
58167
58359
|
throw TypeError(".replit.goval.api.LanguageServerOption.config: object expected");
|
|
58168
58360
|
message.config = $root.replit.goval.api.LanguageServerConfig.fromObject(object.config);
|
|
58169
58361
|
}
|
|
58362
|
+
if (object.moduleId != null)
|
|
58363
|
+
message.moduleId = String(object.moduleId);
|
|
58364
|
+
if (object.displayVersion != null)
|
|
58365
|
+
message.displayVersion = String(object.displayVersion);
|
|
58170
58366
|
return message;
|
|
58171
58367
|
};
|
|
58172
58368
|
|
|
@@ -58189,6 +58385,8 @@
|
|
|
58189
58385
|
object.language = "";
|
|
58190
58386
|
object.fileTypeAttrs = null;
|
|
58191
58387
|
object.config = null;
|
|
58388
|
+
object.moduleId = "";
|
|
58389
|
+
object.displayVersion = "";
|
|
58192
58390
|
}
|
|
58193
58391
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
58194
58392
|
object.id = message.id;
|
|
@@ -58200,6 +58398,10 @@
|
|
|
58200
58398
|
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
58201
58399
|
if (message.config != null && message.hasOwnProperty("config"))
|
|
58202
58400
|
object.config = $root.replit.goval.api.LanguageServerConfig.toObject(message.config, options);
|
|
58401
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
58402
|
+
object.moduleId = message.moduleId;
|
|
58403
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
58404
|
+
object.displayVersion = message.displayVersion;
|
|
58203
58405
|
return object;
|
|
58204
58406
|
};
|
|
58205
58407
|
|
|
@@ -58527,6 +58729,8 @@
|
|
|
58527
58729
|
* @property {boolean|null} [enabledForHosting] PackagerOption enabledForHosting
|
|
58528
58730
|
* @property {boolean|null} [packageSearch] PackagerOption packageSearch
|
|
58529
58731
|
* @property {boolean|null} [guessImports] PackagerOption guessImports
|
|
58732
|
+
* @property {string|null} [moduleId] PackagerOption moduleId
|
|
58733
|
+
* @property {string|null} [displayVersion] PackagerOption displayVersion
|
|
58530
58734
|
*/
|
|
58531
58735
|
|
|
58532
58736
|
/**
|
|
@@ -58600,6 +58804,22 @@
|
|
|
58600
58804
|
*/
|
|
58601
58805
|
PackagerOption.prototype.guessImports = false;
|
|
58602
58806
|
|
|
58807
|
+
/**
|
|
58808
|
+
* PackagerOption moduleId.
|
|
58809
|
+
* @member {string} moduleId
|
|
58810
|
+
* @memberof replit.goval.api.PackagerOption
|
|
58811
|
+
* @instance
|
|
58812
|
+
*/
|
|
58813
|
+
PackagerOption.prototype.moduleId = "";
|
|
58814
|
+
|
|
58815
|
+
/**
|
|
58816
|
+
* PackagerOption displayVersion.
|
|
58817
|
+
* @member {string} displayVersion
|
|
58818
|
+
* @memberof replit.goval.api.PackagerOption
|
|
58819
|
+
* @instance
|
|
58820
|
+
*/
|
|
58821
|
+
PackagerOption.prototype.displayVersion = "";
|
|
58822
|
+
|
|
58603
58823
|
/**
|
|
58604
58824
|
* Creates a new PackagerOption instance using the specified properties.
|
|
58605
58825
|
* @function create
|
|
@@ -58639,6 +58859,10 @@
|
|
|
58639
58859
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.packageSearch);
|
|
58640
58860
|
if (message.guessImports != null && Object.hasOwnProperty.call(message, "guessImports"))
|
|
58641
58861
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.guessImports);
|
|
58862
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
58863
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.moduleId);
|
|
58864
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
58865
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.displayVersion);
|
|
58642
58866
|
return writer;
|
|
58643
58867
|
};
|
|
58644
58868
|
|
|
@@ -58703,6 +58927,14 @@
|
|
|
58703
58927
|
message.guessImports = reader.bool();
|
|
58704
58928
|
break;
|
|
58705
58929
|
}
|
|
58930
|
+
case 8: {
|
|
58931
|
+
message.moduleId = reader.string();
|
|
58932
|
+
break;
|
|
58933
|
+
}
|
|
58934
|
+
case 9: {
|
|
58935
|
+
message.displayVersion = reader.string();
|
|
58936
|
+
break;
|
|
58937
|
+
}
|
|
58706
58938
|
default:
|
|
58707
58939
|
reader.skipType(tag & 7);
|
|
58708
58940
|
break;
|
|
@@ -58763,6 +58995,12 @@
|
|
|
58763
58995
|
if (message.guessImports != null && message.hasOwnProperty("guessImports"))
|
|
58764
58996
|
if (typeof message.guessImports !== "boolean")
|
|
58765
58997
|
return "guessImports: boolean expected";
|
|
58998
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
58999
|
+
if (!$util.isString(message.moduleId))
|
|
59000
|
+
return "moduleId: string expected";
|
|
59001
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59002
|
+
if (!$util.isString(message.displayVersion))
|
|
59003
|
+
return "displayVersion: string expected";
|
|
58766
59004
|
return null;
|
|
58767
59005
|
};
|
|
58768
59006
|
|
|
@@ -58797,6 +59035,10 @@
|
|
|
58797
59035
|
message.packageSearch = Boolean(object.packageSearch);
|
|
58798
59036
|
if (object.guessImports != null)
|
|
58799
59037
|
message.guessImports = Boolean(object.guessImports);
|
|
59038
|
+
if (object.moduleId != null)
|
|
59039
|
+
message.moduleId = String(object.moduleId);
|
|
59040
|
+
if (object.displayVersion != null)
|
|
59041
|
+
message.displayVersion = String(object.displayVersion);
|
|
58800
59042
|
return message;
|
|
58801
59043
|
};
|
|
58802
59044
|
|
|
@@ -58822,6 +59064,8 @@
|
|
|
58822
59064
|
object.enabledForHosting = false;
|
|
58823
59065
|
object.packageSearch = false;
|
|
58824
59066
|
object.guessImports = false;
|
|
59067
|
+
object.moduleId = "";
|
|
59068
|
+
object.displayVersion = "";
|
|
58825
59069
|
}
|
|
58826
59070
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
58827
59071
|
object.id = message.id;
|
|
@@ -58840,6 +59084,10 @@
|
|
|
58840
59084
|
object.packageSearch = message.packageSearch;
|
|
58841
59085
|
if (message.guessImports != null && message.hasOwnProperty("guessImports"))
|
|
58842
59086
|
object.guessImports = message.guessImports;
|
|
59087
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59088
|
+
object.moduleId = message.moduleId;
|
|
59089
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59090
|
+
object.displayVersion = message.displayVersion;
|
|
58843
59091
|
return object;
|
|
58844
59092
|
};
|
|
58845
59093
|
|
|
@@ -58882,6 +59130,8 @@
|
|
|
58882
59130
|
* @property {string|null} [name] FormatterOption name
|
|
58883
59131
|
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [startCommand] FormatterOption startCommand
|
|
58884
59132
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] FormatterOption fileTypeAttrs
|
|
59133
|
+
* @property {string|null} [moduleId] FormatterOption moduleId
|
|
59134
|
+
* @property {string|null} [displayVersion] FormatterOption displayVersion
|
|
58885
59135
|
*/
|
|
58886
59136
|
|
|
58887
59137
|
/**
|
|
@@ -58930,6 +59180,22 @@
|
|
|
58930
59180
|
*/
|
|
58931
59181
|
FormatterOption.prototype.fileTypeAttrs = null;
|
|
58932
59182
|
|
|
59183
|
+
/**
|
|
59184
|
+
* FormatterOption moduleId.
|
|
59185
|
+
* @member {string} moduleId
|
|
59186
|
+
* @memberof replit.goval.api.FormatterOption
|
|
59187
|
+
* @instance
|
|
59188
|
+
*/
|
|
59189
|
+
FormatterOption.prototype.moduleId = "";
|
|
59190
|
+
|
|
59191
|
+
/**
|
|
59192
|
+
* FormatterOption displayVersion.
|
|
59193
|
+
* @member {string} displayVersion
|
|
59194
|
+
* @memberof replit.goval.api.FormatterOption
|
|
59195
|
+
* @instance
|
|
59196
|
+
*/
|
|
59197
|
+
FormatterOption.prototype.displayVersion = "";
|
|
59198
|
+
|
|
58933
59199
|
/**
|
|
58934
59200
|
* Creates a new FormatterOption instance using the specified properties.
|
|
58935
59201
|
* @function create
|
|
@@ -58962,6 +59228,10 @@
|
|
|
58962
59228
|
$root.replit.goval.api.Exec.encode(message.startCommand, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
58963
59229
|
if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
|
|
58964
59230
|
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
59231
|
+
if (message.moduleId != null && Object.hasOwnProperty.call(message, "moduleId"))
|
|
59232
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.moduleId);
|
|
59233
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
59234
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.displayVersion);
|
|
58965
59235
|
return writer;
|
|
58966
59236
|
};
|
|
58967
59237
|
|
|
@@ -59012,6 +59282,14 @@
|
|
|
59012
59282
|
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
|
|
59013
59283
|
break;
|
|
59014
59284
|
}
|
|
59285
|
+
case 5: {
|
|
59286
|
+
message.moduleId = reader.string();
|
|
59287
|
+
break;
|
|
59288
|
+
}
|
|
59289
|
+
case 6: {
|
|
59290
|
+
message.displayVersion = reader.string();
|
|
59291
|
+
break;
|
|
59292
|
+
}
|
|
59015
59293
|
default:
|
|
59016
59294
|
reader.skipType(tag & 7);
|
|
59017
59295
|
break;
|
|
@@ -59063,6 +59341,12 @@
|
|
|
59063
59341
|
if (error)
|
|
59064
59342
|
return "fileTypeAttrs." + error;
|
|
59065
59343
|
}
|
|
59344
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59345
|
+
if (!$util.isString(message.moduleId))
|
|
59346
|
+
return "moduleId: string expected";
|
|
59347
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59348
|
+
if (!$util.isString(message.displayVersion))
|
|
59349
|
+
return "displayVersion: string expected";
|
|
59066
59350
|
return null;
|
|
59067
59351
|
};
|
|
59068
59352
|
|
|
@@ -59092,6 +59376,10 @@
|
|
|
59092
59376
|
throw TypeError(".replit.goval.api.FormatterOption.fileTypeAttrs: object expected");
|
|
59093
59377
|
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
|
|
59094
59378
|
}
|
|
59379
|
+
if (object.moduleId != null)
|
|
59380
|
+
message.moduleId = String(object.moduleId);
|
|
59381
|
+
if (object.displayVersion != null)
|
|
59382
|
+
message.displayVersion = String(object.displayVersion);
|
|
59095
59383
|
return message;
|
|
59096
59384
|
};
|
|
59097
59385
|
|
|
@@ -59113,6 +59401,8 @@
|
|
|
59113
59401
|
object.name = "";
|
|
59114
59402
|
object.startCommand = null;
|
|
59115
59403
|
object.fileTypeAttrs = null;
|
|
59404
|
+
object.moduleId = "";
|
|
59405
|
+
object.displayVersion = "";
|
|
59116
59406
|
}
|
|
59117
59407
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
59118
59408
|
object.id = message.id;
|
|
@@ -59122,6 +59412,10 @@
|
|
|
59122
59412
|
object.startCommand = $root.replit.goval.api.Exec.toObject(message.startCommand, options);
|
|
59123
59413
|
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
|
|
59124
59414
|
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
59415
|
+
if (message.moduleId != null && message.hasOwnProperty("moduleId"))
|
|
59416
|
+
object.moduleId = message.moduleId;
|
|
59417
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
59418
|
+
object.displayVersion = message.displayVersion;
|
|
59125
59419
|
return object;
|
|
59126
59420
|
};
|
|
59127
59421
|
|