@likec4/language-server 0.41.0 → 0.42.0

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.
Files changed (2) hide show
  1. package/dist/ast.d.ts +7 -7
  2. 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.Relation | ast.Element, void, unknown>;
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?: "person" | "browser" | "mobile" | "cylinder" | "storage" | "queue";
101
- color?: "amber" | "blue" | "gray" | "slate" | "green" | "indigo" | "muted" | "red" | "secondary" | "sky";
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?: "none" | "onormal" | "diamond" | "odiamond" | "crow" | "open" | "vee";
112
- head?: "none" | "onormal" | "diamond" | "odiamond" | "crow" | "open" | "vee";
113
- line?: "solid" | "dotted";
114
- color?: "amber" | "blue" | "slate" | "green" | "indigo" | "muted" | "primary" | "red" | "secondary" | "sky";
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.41.0",
4
+ "version": "0.42.0",
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.41.0",
54
- "@likec4/graph": "0.41.0",
53
+ "@likec4/core": "0.42.0",
54
+ "@likec4/graph": "0.42.0",
55
55
  "langium": "^2.0.2",
56
56
  "object-hash": "^3.0.0",
57
57
  "p-debounce": "^4.0.0",