@likec4/language-server 1.34.1 → 1.35.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.
- package/dist/LikeC4FileSystem.js +2 -2
- package/dist/bundled.mjs +2647 -2633
- package/dist/generated/ast.d.ts +7 -6
- package/dist/generated/ast.js +1 -0
- package/dist/generated/grammar.js +1 -1
- package/dist/model/builder/MergedSpecification.d.ts +1 -1
- package/dist/model/builder/MergedSpecification.js +8 -0
- package/dist/model/parser/SpecificationParser.d.ts +1 -1
- package/dist/model/parser/SpecificationParser.js +18 -3
- package/dist/model/parser/ViewsParser.js +6 -1
- package/dist/view-utils/resolve-relative-paths.js +1 -1
- package/package.json +13 -13
package/dist/generated/ast.d.ts
CHANGED
|
@@ -673,7 +673,7 @@ export interface LineProperty extends langium.AstNode {
|
|
|
673
673
|
export declare const LineProperty = "LineProperty";
|
|
674
674
|
export declare function isLineProperty(item: unknown): item is LineProperty;
|
|
675
675
|
export interface LinkProperty extends langium.AstNode {
|
|
676
|
-
readonly $container: DeployedInstanceBody | DeploymentNodeBody | DeploymentRelationBody | DeploymentViewBody | DynamicViewBody | ElementBody | ElementViewBody | ExtendDeploymentBody | ExtendElementBody | RelationBody;
|
|
676
|
+
readonly $container: DeployedInstanceBody | DeploymentNodeBody | DeploymentRelationBody | DeploymentViewBody | DynamicViewBody | ElementBody | ElementViewBody | ExtendDeploymentBody | ExtendElementBody | RelationBody | SpecificationDeploymentNodeKind | SpecificationElementKind;
|
|
677
677
|
readonly $type: 'LinkProperty';
|
|
678
678
|
key: 'link';
|
|
679
679
|
title?: string;
|
|
@@ -682,7 +682,7 @@ export interface LinkProperty extends langium.AstNode {
|
|
|
682
682
|
export declare const LinkProperty = "LinkProperty";
|
|
683
683
|
export declare function isLinkProperty(item: unknown): item is LinkProperty;
|
|
684
684
|
export interface MarkdownOrString extends langium.AstNode {
|
|
685
|
-
readonly $container: ElementStringProperty | MetadataAttribute | NotationProperty | NotesProperty | RelationStringProperty | SpecificationRelationshipStringProperty | ViewStringProperty;
|
|
685
|
+
readonly $container: ElementStringProperty | MetadataAttribute | NotationProperty | NotesProperty | RelationStringProperty | SpecificationElementStringProperty | SpecificationRelationshipStringProperty | ViewStringProperty;
|
|
686
686
|
readonly $type: 'MarkdownOrString';
|
|
687
687
|
markdown?: string;
|
|
688
688
|
text?: string;
|
|
@@ -723,6 +723,7 @@ export declare function isModelDeployments(item: unknown): item is ModelDeployme
|
|
|
723
723
|
export interface ModelViews extends langium.AstNode {
|
|
724
724
|
readonly $container: LikeC4Grammar;
|
|
725
725
|
readonly $type: 'ModelViews';
|
|
726
|
+
folder?: string;
|
|
726
727
|
name: 'views';
|
|
727
728
|
styles: Array<ViewRuleStyleOrGlobalRef>;
|
|
728
729
|
views: Array<LikeC4View>;
|
|
@@ -902,7 +903,7 @@ export interface SpecificationDeploymentNodeKind extends langium.AstNode {
|
|
|
902
903
|
readonly $container: SpecificationRule;
|
|
903
904
|
readonly $type: 'SpecificationDeploymentNodeKind';
|
|
904
905
|
kind: DeploymentNodeKind;
|
|
905
|
-
props: Array<ElementStyleProperty | SpecificationElementStringProperty>;
|
|
906
|
+
props: Array<ElementStyleProperty | LinkProperty | SpecificationElementStringProperty>;
|
|
906
907
|
tags?: Tags;
|
|
907
908
|
}
|
|
908
909
|
export declare const SpecificationDeploymentNodeKind = "SpecificationDeploymentNodeKind";
|
|
@@ -911,7 +912,7 @@ export interface SpecificationElementKind extends langium.AstNode {
|
|
|
911
912
|
readonly $container: SpecificationRule;
|
|
912
913
|
readonly $type: 'SpecificationElementKind';
|
|
913
914
|
kind: ElementKind;
|
|
914
|
-
props: Array<ElementStyleProperty | SpecificationElementStringProperty>;
|
|
915
|
+
props: Array<ElementStyleProperty | LinkProperty | SpecificationElementStringProperty>;
|
|
915
916
|
tags?: Tags;
|
|
916
917
|
}
|
|
917
918
|
export declare const SpecificationElementKind = "SpecificationElementKind";
|
|
@@ -919,8 +920,8 @@ export declare function isSpecificationElementKind(item: unknown): item is Speci
|
|
|
919
920
|
export interface SpecificationElementStringProperty extends langium.AstNode {
|
|
920
921
|
readonly $container: SpecificationDeploymentNodeKind | SpecificationElementKind;
|
|
921
922
|
readonly $type: 'SpecificationElementStringProperty';
|
|
922
|
-
key: 'notation' | 'technology';
|
|
923
|
-
value:
|
|
923
|
+
key: 'description' | 'notation' | 'technology' | 'title';
|
|
924
|
+
value: MarkdownOrString;
|
|
924
925
|
}
|
|
925
926
|
export declare const SpecificationElementStringProperty = "SpecificationElementStringProperty";
|
|
926
927
|
export declare function isSpecificationElementStringProperty(item: unknown): item is SpecificationElementStringProperty;
|
package/dist/generated/ast.js
CHANGED
|
@@ -1552,6 +1552,7 @@ export class LikeC4AstReflection extends langium.AbstractAstReflection {
|
|
|
1552
1552
|
return {
|
|
1553
1553
|
name: ModelViews,
|
|
1554
1554
|
properties: [
|
|
1555
|
+
{ name: "folder" },
|
|
1555
1556
|
{ name: "name" },
|
|
1556
1557
|
{ name: "styles", defaultValue: [] },
|
|
1557
1558
|
{ name: "views", defaultValue: [] }
|