likec4 1.19.1 → 1.19.2

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.
@@ -1,5 +1,5 @@
1
- import { E as ElementModel, D as DeploymentElementModel, F as Fqn, A as AnyAux, a as DeploymentNodeModel, b as DeployedInstanceModel, R as RelationshipsAccum, I as IteratorLike, c as RelationshipModel, d as DeploymentRelationModel, L as LikeC4Model } from '../shared/likec4.DCwaTTuF.js';
2
- export { k as AbstractRelation, l as AutoLayoutDirection, e as Aux, B as BBox, m as Color, n as ComputedDeploymentView, o as ComputedDynamicView, p as ComputedEdge, q as ComputedElementView, r as ComputedLikeC4Model, C as ComputedNode, i as ComputedView, s as DeployedInstance, t as DeploymentElement, u as DeploymentNode, v as DeploymentNodeKind, w as DeploymentRelation, x as DeploymentView, y as DiagramEdge, j as DiagramNode, z as DiagramView, G as DynamicView, H as EdgeId, f as EdgeModel, J as Element, K as ElementKind, M as ElementView, O as HexColorLiteral, P as LayoutedLikeC4Model, g as LikeC4DeploymentModel, Q as LikeC4View, h as LikeC4ViewModel, S as NodeId, N as NodeModel, T as OverviewGraph, U as ParsedLikeC4Model, V as Point, W as RelationExpr, X as RelationId, Y as StepEdgeId, Z as Tag, _ as ThemeColor, $ as ViewId, a0 as WhereOperator, a1 as XYPoint } from '../shared/likec4.DCwaTTuF.js';
1
+ import { E as ElementModel, D as DeploymentElementModel, F as Fqn, A as AnyAux, a as DeploymentNodeModel, b as DeployedInstanceModel, R as RelationshipsAccum, I as IteratorLike, c as RelationshipModel, d as DeploymentRelationModel, L as LikeC4Model } from '../shared/likec4.DJeGiAvE.js';
2
+ export { k as AbstractRelation, l as AutoLayoutDirection, e as Aux, B as BBox, m as Color, n as ComputedDeploymentView, o as ComputedDynamicView, p as ComputedEdge, q as ComputedElementView, r as ComputedLikeC4Model, C as ComputedNode, i as ComputedView, s as DeployedInstance, t as DeploymentElement, u as DeploymentNode, v as DeploymentNodeKind, w as DeploymentRelation, x as DeploymentView, y as DiagramEdge, j as DiagramNode, z as DiagramView, G as DynamicView, H as EdgeId, f as EdgeModel, J as Element, K as ElementKind, M as ElementView, O as HexColorLiteral, P as LayoutedLikeC4Model, g as LikeC4DeploymentModel, Q as LikeC4View, h as LikeC4ViewModel, S as NodeId, N as NodeModel, T as OverviewGraph, U as ParsedLikeC4Model, V as Point, W as RelationExpr, X as RelationId, Y as StepEdgeId, Z as Tag, _ as ThemeColor, $ as ViewId, a0 as WhereOperator, a1 as XYPoint } from '../shared/likec4.DJeGiAvE.js';
3
3
  import 'type-fest';
4
4
 
5
5
  type IterableContainer<T = unknown> = ReadonlyArray<T> | readonly [];
@@ -73,6 +73,11 @@ declare class DeploymentConnectionModel<M extends AnyAux = AnyAux> implements Co
73
73
  */
74
74
  hasDirectDeploymentRelation(): boolean;
75
75
  values(): IteratorLike<RelationshipModel<M> | DeploymentRelationModel<M>>;
76
+ /**
77
+ * Merge with another connections, if it has the same source and target.
78
+ * Returns new connection with union of relationships.
79
+ */
80
+ mergeWith(others: DeploymentConnectionModel<M>[]): DeploymentConnectionModel<M>;
76
81
  /**
77
82
  * Merge with another connection, if it has the same source and target.
78
83
  * Returns new connection with union of relationships.
@@ -1 +1 @@
1
- import{j as e}from"../shared/likec4.1r1CQuHw.mjs";export{h as ComputedNode,v as ComputedView,a as Connection,Z as ConnectionModel,$ as DeployedInstanceModel,G as DeploymentConnectionModel,_ as DeploymentNodeModel,f as DeploymentRelationModel,W as DiagramNode,T as EdgeModel,m as ElementModel,M as LikeC4DeploymentModel,P as LikeC4ViewModel,z as NodeModel,L as RelationshipModel,R as deploymentConnection,b as differenceConnections,c as findAscendingConnections,I as findDeepestNestedConnection,y as findDescendantConnections,A as hasSameSource,d as hasSameSourceTarget,O as hasSameTarget,F as isAnyInOut,e as isIncoming,o as isNestedConnection,D as isOutgoing,s as mergeConnections,C as modelConnection,p as sortConnectionsByBoundaryHierarchy,g as sortDeepestFirst}from"../shared/likec4.1r1CQuHw.mjs";function n(o){return e.create(o)}export{e as LikeC4Model,n as createLikeC4Model};
1
+ import{a as e}from"../shared/likec4.Cgd5VecV.mjs";export{i as ComputedNode,k as ComputedView,c as Connection,e as ConnectionModel,I as DeployedInstanceModel,A as DeploymentConnectionModel,$ as DeploymentNodeModel,g as DeploymentRelationModel,l as DiagramNode,q as EdgeModel,y as ElementModel,U as LikeC4DeploymentModel,V as LikeC4ViewModel,B as NodeModel,F as RelationshipModel,j as deploymentConnection,u as differenceConnections,w as findAscendingConnections,G as findDeepestNestedConnection,v as findDescendantConnections,z as hasSameSource,b as hasSameSourceTarget,P as hasSameTarget,d as isAnyInOut,C as isIncoming,f as isNestedConnection,D as isOutgoing,h as mergeConnections,W as modelConnection,m as sortConnectionsByBoundaryHierarchy,L as sortDeepestFirst}from"../shared/likec4.Cgd5VecV.mjs";function n(o){return e.create(o)}export{e as LikeC4Model,n as createLikeC4Model};