@replit/protocol 0.3.11 → 0.3.12
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 +8 -8
- package/main/index.js +30 -30
- package/main/index.js.flow +8 -8
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -19388,11 +19388,11 @@ export namespace replit {
|
|
|
19388
19388
|
/** NixModule resolutionPath */
|
|
19389
19389
|
resolutionPath?: (string[]|null);
|
|
19390
19390
|
|
|
19391
|
-
/** NixModule
|
|
19392
|
-
|
|
19391
|
+
/** NixModule resolvedId */
|
|
19392
|
+
resolvedId?: (string|null);
|
|
19393
19393
|
|
|
19394
|
-
/** NixModule
|
|
19395
|
-
|
|
19394
|
+
/** NixModule referencedId */
|
|
19395
|
+
referencedId?: (string|null);
|
|
19396
19396
|
}
|
|
19397
19397
|
|
|
19398
19398
|
/** Represents a NixModule. */
|
|
@@ -19434,11 +19434,11 @@ export namespace replit {
|
|
|
19434
19434
|
/** NixModule resolutionPath. */
|
|
19435
19435
|
public resolutionPath: string[];
|
|
19436
19436
|
|
|
19437
|
-
/** NixModule
|
|
19438
|
-
public
|
|
19437
|
+
/** NixModule resolvedId. */
|
|
19438
|
+
public resolvedId: string;
|
|
19439
19439
|
|
|
19440
|
-
/** NixModule
|
|
19441
|
-
public
|
|
19440
|
+
/** NixModule referencedId. */
|
|
19441
|
+
public referencedId: string;
|
|
19442
19442
|
|
|
19443
19443
|
/**
|
|
19444
19444
|
* Creates a new NixModule instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -48260,8 +48260,8 @@
|
|
|
48260
48260
|
* @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] NixModule languageServers
|
|
48261
48261
|
* @property {string|null} [buildType] NixModule buildType
|
|
48262
48262
|
* @property {Array.<string>|null} [resolutionPath] NixModule resolutionPath
|
|
48263
|
-
* @property {string|null} [
|
|
48264
|
-
* @property {string|null} [
|
|
48263
|
+
* @property {string|null} [resolvedId] NixModule resolvedId
|
|
48264
|
+
* @property {string|null} [referencedId] NixModule referencedId
|
|
48265
48265
|
*/
|
|
48266
48266
|
|
|
48267
48267
|
/**
|
|
@@ -48364,20 +48364,20 @@
|
|
|
48364
48364
|
NixModule.prototype.resolutionPath = $util.emptyArray;
|
|
48365
48365
|
|
|
48366
48366
|
/**
|
|
48367
|
-
* NixModule
|
|
48368
|
-
* @member {string}
|
|
48367
|
+
* NixModule resolvedId.
|
|
48368
|
+
* @member {string} resolvedId
|
|
48369
48369
|
* @memberof replit.goval.api.NixModule
|
|
48370
48370
|
* @instance
|
|
48371
48371
|
*/
|
|
48372
|
-
NixModule.prototype.
|
|
48372
|
+
NixModule.prototype.resolvedId = "";
|
|
48373
48373
|
|
|
48374
48374
|
/**
|
|
48375
|
-
* NixModule
|
|
48376
|
-
* @member {string}
|
|
48375
|
+
* NixModule referencedId.
|
|
48376
|
+
* @member {string} referencedId
|
|
48377
48377
|
* @memberof replit.goval.api.NixModule
|
|
48378
48378
|
* @instance
|
|
48379
48379
|
*/
|
|
48380
|
-
NixModule.prototype.
|
|
48380
|
+
NixModule.prototype.referencedId = "";
|
|
48381
48381
|
|
|
48382
48382
|
/**
|
|
48383
48383
|
* Creates a new NixModule instance using the specified properties.
|
|
@@ -48428,10 +48428,10 @@
|
|
|
48428
48428
|
if (message.resolutionPath != null && message.resolutionPath.length)
|
|
48429
48429
|
for (var i = 0; i < message.resolutionPath.length; ++i)
|
|
48430
48430
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.resolutionPath[i]);
|
|
48431
|
-
if (message.
|
|
48432
|
-
writer.uint32(/* id 11, wireType 2 =*/90).string(message.
|
|
48433
|
-
if (message.
|
|
48434
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.
|
|
48431
|
+
if (message.resolvedId != null && Object.hasOwnProperty.call(message, "resolvedId"))
|
|
48432
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.resolvedId);
|
|
48433
|
+
if (message.referencedId != null && Object.hasOwnProperty.call(message, "referencedId"))
|
|
48434
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.referencedId);
|
|
48435
48435
|
return writer;
|
|
48436
48436
|
};
|
|
48437
48437
|
|
|
@@ -48507,10 +48507,10 @@
|
|
|
48507
48507
|
message.resolutionPath.push(reader.string());
|
|
48508
48508
|
break;
|
|
48509
48509
|
case 11:
|
|
48510
|
-
message.
|
|
48510
|
+
message.resolvedId = reader.string();
|
|
48511
48511
|
break;
|
|
48512
48512
|
case 12:
|
|
48513
|
-
message.
|
|
48513
|
+
message.referencedId = reader.string();
|
|
48514
48514
|
break;
|
|
48515
48515
|
default:
|
|
48516
48516
|
reader.skipType(tag & 7);
|
|
@@ -48605,12 +48605,12 @@
|
|
|
48605
48605
|
if (!$util.isString(message.resolutionPath[i]))
|
|
48606
48606
|
return "resolutionPath: string[] expected";
|
|
48607
48607
|
}
|
|
48608
|
-
if (message.
|
|
48609
|
-
if (!$util.isString(message.
|
|
48610
|
-
return "
|
|
48611
|
-
if (message.
|
|
48612
|
-
if (!$util.isString(message.
|
|
48613
|
-
return "
|
|
48608
|
+
if (message.resolvedId != null && message.hasOwnProperty("resolvedId"))
|
|
48609
|
+
if (!$util.isString(message.resolvedId))
|
|
48610
|
+
return "resolvedId: string expected";
|
|
48611
|
+
if (message.referencedId != null && message.hasOwnProperty("referencedId"))
|
|
48612
|
+
if (!$util.isString(message.referencedId))
|
|
48613
|
+
return "referencedId: string expected";
|
|
48614
48614
|
return null;
|
|
48615
48615
|
};
|
|
48616
48616
|
|
|
@@ -48683,10 +48683,10 @@
|
|
|
48683
48683
|
for (var i = 0; i < object.resolutionPath.length; ++i)
|
|
48684
48684
|
message.resolutionPath[i] = String(object.resolutionPath[i]);
|
|
48685
48685
|
}
|
|
48686
|
-
if (object.
|
|
48687
|
-
message.
|
|
48688
|
-
if (object.
|
|
48689
|
-
message.
|
|
48686
|
+
if (object.resolvedId != null)
|
|
48687
|
+
message.resolvedId = String(object.resolvedId);
|
|
48688
|
+
if (object.referencedId != null)
|
|
48689
|
+
message.referencedId = String(object.referencedId);
|
|
48690
48690
|
return message;
|
|
48691
48691
|
};
|
|
48692
48692
|
|
|
@@ -48716,8 +48716,8 @@
|
|
|
48716
48716
|
object.name = "";
|
|
48717
48717
|
object.description = "";
|
|
48718
48718
|
object.buildType = "";
|
|
48719
|
-
object.
|
|
48720
|
-
object.
|
|
48719
|
+
object.resolvedId = "";
|
|
48720
|
+
object.referencedId = "";
|
|
48721
48721
|
}
|
|
48722
48722
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
48723
48723
|
object.id = message.id;
|
|
@@ -48754,10 +48754,10 @@
|
|
|
48754
48754
|
for (var j = 0; j < message.resolutionPath.length; ++j)
|
|
48755
48755
|
object.resolutionPath[j] = message.resolutionPath[j];
|
|
48756
48756
|
}
|
|
48757
|
-
if (message.
|
|
48758
|
-
object.
|
|
48759
|
-
if (message.
|
|
48760
|
-
object.
|
|
48757
|
+
if (message.resolvedId != null && message.hasOwnProperty("resolvedId"))
|
|
48758
|
+
object.resolvedId = message.resolvedId;
|
|
48759
|
+
if (message.referencedId != null && message.hasOwnProperty("referencedId"))
|
|
48760
|
+
object.referencedId = message.referencedId;
|
|
48761
48761
|
return object;
|
|
48762
48762
|
};
|
|
48763
48763
|
|
package/main/index.js.flow
CHANGED
|
@@ -27715,14 +27715,14 @@ declare type replit$goval$api$INixModule = {|
|
|
|
27715
27715
|
resolutionPath?: string[] | null,
|
|
27716
27716
|
|
|
27717
27717
|
/**
|
|
27718
|
-
* NixModule
|
|
27718
|
+
* NixModule resolvedId
|
|
27719
27719
|
*/
|
|
27720
|
-
|
|
27720
|
+
resolvedId?: string | null,
|
|
27721
27721
|
|
|
27722
27722
|
/**
|
|
27723
|
-
* NixModule
|
|
27723
|
+
* NixModule referencedId
|
|
27724
27724
|
*/
|
|
27725
|
-
|
|
27725
|
+
referencedId?: string | null,
|
|
27726
27726
|
|};
|
|
27727
27727
|
|
|
27728
27728
|
/**
|
|
@@ -27786,14 +27786,14 @@ declare class replit$goval$api$NixModule {
|
|
|
27786
27786
|
resolutionPath: string[];
|
|
27787
27787
|
|
|
27788
27788
|
/**
|
|
27789
|
-
* NixModule
|
|
27789
|
+
* NixModule resolvedId.
|
|
27790
27790
|
*/
|
|
27791
|
-
|
|
27791
|
+
resolvedId: string;
|
|
27792
27792
|
|
|
27793
27793
|
/**
|
|
27794
|
-
* NixModule
|
|
27794
|
+
* NixModule referencedId.
|
|
27795
27795
|
*/
|
|
27796
|
-
|
|
27796
|
+
referencedId: string;
|
|
27797
27797
|
|
|
27798
27798
|
/**
|
|
27799
27799
|
* Creates a new NixModule instance using the specified properties.
|