@likec4/language-server 1.38.0 → 1.38.1
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/dist/LikeC4LanguageServices.d.ts +1 -0
- package/dist/Rpc.js +2 -2
- package/dist/bundled.mjs +2594 -2600
- package/dist/model/builder/MergedSpecification.d.ts +1 -1
- package/dist/model/builder/buildModel.d.ts +1 -1
- package/dist/workspace/LangiumDocuments.d.ts +4 -1
- package/dist/workspace/LangiumDocuments.js +15 -0
- package/dist/workspace/ProjectsManager.d.ts +1 -1
- package/dist/workspace/ProjectsManager.js +13 -17
- package/package.json +8 -8
package/dist/Rpc.js
CHANGED
|
@@ -65,8 +65,8 @@ export class Rpc extends ADisposable {
|
|
|
65
65
|
connection.onRequest(FetchComputedModel.req, async ({ projectId, cleanCaches }, cancelToken) => {
|
|
66
66
|
logger.debug`received request ${"fetchComputedModel"} for project ${projectId}`;
|
|
67
67
|
if (cleanCaches) {
|
|
68
|
-
const docs = projectId ? LangiumDocuments.projectDocuments(projectId) : LangiumDocuments.
|
|
69
|
-
const uris = docs.map((d) => d.uri)
|
|
68
|
+
const docs = projectId ? LangiumDocuments.projectDocuments(projectId) : LangiumDocuments.allExcludingBuiltin;
|
|
69
|
+
const uris = docs.toArray().map((d) => d.uri);
|
|
70
70
|
await DocumentBuilder.update(uris, [], cancelToken);
|
|
71
71
|
}
|
|
72
72
|
const likec4model = await modelBuilder.buildLikeC4Model(projectId, cancelToken);
|