likec4 1.29.0 → 1.29.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/README.md +2 -1
- package/__app__/src/main.js +51 -33
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +542 -539
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.BHE-zBYQ.mjs → likec4.CLg3BMaP.mjs} +1361 -1355
- package/dist/shared/{likec4.CN01ZZwj.mjs → likec4.KsxCQmkB.mjs} +2 -2
- package/dist/shared/{likec4.DallBlZf.d.mts → likec4.tyGQtUCS.d.mts} +190 -24
- package/dist/vite-plugin/index.d.mts +1 -1
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +22 -21
- package/react/index.mjs +19 -19
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectId, DiagramView, NonEmptyArray } from '@likec4/core';
|
|
2
2
|
export { AbstractRelation, AutoLayoutDirection, BBox, Color, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4ModelData, ComputedNode, ComputedView, DeployedInstance, DeploymentElement, DeploymentNode, DeploymentNodeKind, DeploymentRelation, DeploymentView, DiagramEdge, DiagramNode, DiagramView, DynamicView, EdgeId, Element, ElementKind, ElementView, Fqn, HexColorLiteral, LayoutedLikeC4ModelData, LikeC4View, NodeId, ParsedLikeC4ModelData, Point, RelationExpr, RelationId, StepEdgeId, Tag, ThemeColor, ViewId, XYPoint } from '@likec4/core';
|
|
3
3
|
import { LikeC4Model } from '@likec4/core/model';
|
|
4
4
|
export { AnyAux, Aux, LikeC4DeploymentModel, LikeC4Model, LikeC4ViewModel } from '@likec4/core/model';
|
|
5
|
-
import { W as WorkspaceFolder, a as LikeC4Services, G as GraphvizLayouter, L as LikeC4LanguageServices, b as LikeC4Views, R as Range } from './shared/likec4.
|
|
5
|
+
import { W as WorkspaceFolder, a as LikeC4Services, G as GraphvizLayouter, L as LikeC4LanguageServices, b as LikeC4Views, R as Range } from './shared/likec4.tyGQtUCS.mjs';
|
|
6
6
|
import 'type-fest';
|
|
7
7
|
import '/home/runner/work/likec4/likec4/node_modules/.pnpm/@types+picomatch@4.0.0/node_modules/@types/picomatch/posix.d.ts';
|
|
8
8
|
import '@likec4/core/types';
|
|
@@ -102,7 +102,7 @@ declare class LikeC4 {
|
|
|
102
102
|
* Diagram is a computed view, layouted using Graphviz
|
|
103
103
|
* Used in React components
|
|
104
104
|
*/
|
|
105
|
-
diagrams(): Promise<DiagramView[]>;
|
|
105
|
+
diagrams(projectId?: ProjectId | undefined): Promise<DiagramView[]>;
|
|
106
106
|
/**
|
|
107
107
|
* Builds LikeC4Model from all documents
|
|
108
108
|
* Only computes view predicates {@link ComputedView} - i.e. no layout
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.
|
|
1
|
+
import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.CLg3BMaP.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
|
|
2
2
|
import"boxen";import"node:child_process";import"node:events";import"node:fs/promises";import"node:stream/promises";import"node:os";import"fs/promises";
|