@likec4/language-server 0.41.0 → 0.42.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/ast.d.ts +7 -7
- package/package.json +3 -3
package/dist/ast.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export declare function cleanParsedModel(doc: LikeC4LangiumDocument): {
|
|
|
86
86
|
export declare function isLikeC4LangiumDocument(doc: LangiumDocument): doc is LikeC4LangiumDocument;
|
|
87
87
|
export declare function isParsedLikeC4LangiumDocument(doc: LangiumDocument): doc is ParsedLikeC4LangiumDocument;
|
|
88
88
|
export declare const isValidLikeC4LangiumDocument: (doc: LangiumDocument) => doc is ParsedLikeC4LangiumDocument;
|
|
89
|
-
export declare function streamModel(doc: LikeC4LangiumDocument): Generator<ast.
|
|
89
|
+
export declare function streamModel(doc: LikeC4LangiumDocument): Generator<ast.Element | ast.Relation, void, unknown>;
|
|
90
90
|
export declare function resolveRelationPoints(node: ast.Relation): {
|
|
91
91
|
source: ast.Element;
|
|
92
92
|
target: ast.Element;
|
|
@@ -97,8 +97,8 @@ export declare function toElementStyle(props?: ast.StyleProperties['props']): {
|
|
|
97
97
|
icon?: c4.IconUrl;
|
|
98
98
|
};
|
|
99
99
|
export declare function toElementStyleExcludeDefaults(props?: ast.StyleProperties['props']): {
|
|
100
|
-
shape?: "
|
|
101
|
-
color?: "amber" | "blue" | "gray" | "
|
|
100
|
+
shape?: "browser" | "cylinder" | "mobile" | "person" | "queue" | "storage";
|
|
101
|
+
color?: "amber" | "blue" | "gray" | "green" | "indigo" | "muted" | "red" | "secondary" | "sky" | "slate";
|
|
102
102
|
icon?: c4.IconUrl;
|
|
103
103
|
};
|
|
104
104
|
export declare function toRelationshipStyle(props?: ast.SpecificationRelationshipKind['props']): {
|
|
@@ -108,10 +108,10 @@ export declare function toRelationshipStyle(props?: ast.SpecificationRelationshi
|
|
|
108
108
|
tail?: c4.RelationshipArrowType;
|
|
109
109
|
};
|
|
110
110
|
export declare function toRelationshipStyleExcludeDefaults(props?: ast.SpecificationRelationshipKind['props']): {
|
|
111
|
-
tail?: "
|
|
112
|
-
head?: "
|
|
113
|
-
line?: "
|
|
114
|
-
color?: "amber" | "blue" | "
|
|
111
|
+
tail?: "crow" | "diamond" | "none" | "odiamond" | "onormal" | "open" | "vee";
|
|
112
|
+
head?: "crow" | "diamond" | "none" | "odiamond" | "onormal" | "open" | "vee";
|
|
113
|
+
line?: "dotted" | "solid";
|
|
114
|
+
color?: "amber" | "blue" | "green" | "indigo" | "muted" | "primary" | "red" | "secondary" | "sky" | "slate";
|
|
115
115
|
};
|
|
116
116
|
export declare function toAutoLayout(direction: ast.ViewRuleLayoutDirection): c4.ViewRuleAutoLayout['autoLayout'];
|
|
117
117
|
//# sourceMappingURL=ast.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/language-server",
|
|
3
3
|
"description": "LikeC4 Language Server",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.42.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
7
7
|
"homepage": "https://likec4.dev",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"test": "vitest run"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@likec4/core": "0.
|
|
54
|
-
"@likec4/graph": "0.
|
|
53
|
+
"@likec4/core": "0.42.1",
|
|
54
|
+
"@likec4/graph": "0.42.1",
|
|
55
55
|
"langium": "^2.0.2",
|
|
56
56
|
"object-hash": "^3.0.0",
|
|
57
57
|
"p-debounce": "^4.0.0",
|