@likec4/core 1.33.0 → 1.34.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/builder/index.d.mts +3 -3
- package/dist/builder/index.mjs +2 -2
- package/dist/compute-view/index.d.mts +3 -3
- package/dist/compute-view/index.mjs +3 -3
- package/dist/compute-view/relationships-view/index.d.mts +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/model/connection/deployment/index.d.mts +5 -5
- package/dist/model/connection/index.d.mts +6 -6
- package/dist/model/connection/model/index.d.mts +5 -5
- package/dist/model/index.d.mts +8 -8
- package/dist/model/index.mjs +1 -1
- package/dist/shared/{core.hoq9W4rW.mjs → core.4SpVCM9m.mjs} +4 -1
- package/dist/shared/{core.Dy-F3xRP.d.mts → core.CJSFKrYf.d.mts} +3 -3
- package/dist/shared/{core.CeQbbp7K.d.mts → core.D3xEWj5B.d.mts} +2 -2
- package/dist/shared/{core.De___iBS.d.mts → core.DAj3LuFH.d.mts} +56 -56
- package/dist/shared/{core.DDAPzd3T.d.mts → core.Di7__sMg.d.mts} +3 -3
- package/dist/shared/{core.OLInHaJx.d.mts → core.DrS4Bf4y.d.mts} +3 -2
- package/dist/shared/{core.1pNeDdRk.d.mts → core.IWLie-Ma.d.mts} +1 -1
- package/dist/shared/{core.DDynPqbh.mjs → core.PqNe5WxQ.mjs} +1 -1
- package/dist/types/{aux.d.mts → _aux.d.mts} +1 -1
- package/dist/types/index.d.mts +3 -3
- package/package.json +13 -13
- package/src/model/DeploymentElementModel.ts +1 -1
- package/src/model/DeploymentModel.ts +1 -1
- package/src/model/ElementModel.ts +6 -2
- package/src/model/LikeC4Model.ts +1 -1
- package/src/model/RelationModel.ts +1 -1
- package/src/model/types.ts +1 -1
- package/src/model/view/LikeC4ViewModel.ts +1 -1
- package/src/model/view/NodeModel.ts +1 -1
- package/src/types/expression-model.ts +2 -2
- package/src/types/expression.ts +2 -2
- package/src/types/fqnRef.ts +2 -2
- package/src/types/global.ts +1 -1
- package/src/types/index.ts +2 -2
- package/src/types/model-data.ts +2 -2
- package/src/types/model-deployment.ts +2 -2
- package/src/types/model-dump.ts +1 -1
- package/src/types/model-logical.ts +2 -2
- package/src/types/model-spec.ts +2 -2
- package/src/types/operators.ts +2 -2
- package/src/types/view-common.ts +2 -2
- package/src/types/view-computed.ts +2 -2
- package/src/types/view-layouted.ts +2 -2
- package/src/types/view-parsed.deployment.ts +1 -1
- package/src/types/view-parsed.dynamic.ts +2 -2
- package/src/types/view-parsed.element.ts +2 -2
- package/src/types/view.ts +2 -2
- /package/dist/types/{aux.mjs → _aux.mjs} +0 -0
- /package/src/types/{aux.ts → _aux.ts} +0 -0
package/dist/builder/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LastArrayElement, Split, Simplify, IsLiteral, Writable, IfNever, IsNever, TupleToUnion, Tagged } from 'type-fest';
|
|
2
|
-
import { g as LikeC4Model } from '../shared/core.
|
|
2
|
+
import { g as LikeC4Model } from '../shared/core.DrS4Bf4y.mjs';
|
|
3
3
|
import { D as DeploymentFqn, F as Fqn } from '../shared/core.668kXpZq.mjs';
|
|
4
|
-
import { r as DeploymentElement, v as DeploymentRelationship, Q as Element, Z as ModelRelation, a8 as Participant, M as ModelFqnExpr, d as ModelRelationExpr, aF as AnyViewRuleStyle, aK as AutoLayoutDirection, E as Expression, al as ParsedView, b9 as ParsedDeploymentView, bp as ParsedElementView, n as ParsedLikeC4ModelData, _ as ElementSpecification$1, a1 as RelationshipSpecification, $ as TagSpecification } from '../shared/core.
|
|
4
|
+
import { r as DeploymentElement, v as DeploymentRelationship, Q as Element, Z as ModelRelation, a8 as Participant, M as ModelFqnExpr, d as ModelRelationExpr, aF as AnyViewRuleStyle, aK as AutoLayoutDirection, E as Expression, al as ParsedView, b9 as ParsedDeploymentView, bp as ParsedElementView, n as ParsedLikeC4ModelData, _ as ElementSpecification$1, a1 as RelationshipSpecification, $ as TagSpecification } from '../shared/core.IWLie-Ma.mjs';
|
|
5
5
|
import { N as NonEmptyArray, K as KeysOf } from '../shared/core.DuSLYTG6.mjs';
|
|
6
6
|
import { c as ElementShape, h as ThemeColor, b as BorderStyle, a as ShapeSize, S as SpacingSize, T as TextSize, f as RelationshipArrowType, R as RelationshipLineType } from '../shared/core.CzdwsPmY.mjs';
|
|
7
|
-
import {
|
|
7
|
+
import { a as Aux, S as SpecAux, A as Any } from '../shared/core.DAj3LuFH.mjs';
|
|
8
8
|
import '../shared/core.CywrQs86.mjs';
|
|
9
9
|
|
|
10
10
|
type ToNested$1<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, infer F> ? TypesNested<`${P}.${Id}`, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], `${P}.${Id}` | F> : T extends AnyTypes ? TypesNested<Id, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], Id | T['DeploymentFqn']> : never;
|
package/dist/builder/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i, l, d, c as computeLikeC4Model } from '../shared/core.
|
|
1
|
+
import { i, l, d, c as computeLikeC4Model } from '../shared/core.PqNe5WxQ.mjs';
|
|
2
2
|
import { m } from '../shared/core.ByrmCl9I.mjs';
|
|
3
3
|
import { a as _type, t as n$1, _ as _stage, c as isDeployedInstance, F as FqnRef } from '../shared/core.Br7Fab9l.mjs';
|
|
4
4
|
import { t as t$2 } from '../shared/core.BH9nN-_I.mjs';
|
|
5
5
|
import { l as l$1 } from '../shared/core.8KM0D6va.mjs';
|
|
6
6
|
import { u } from '../shared/core.DbRvwARP.mjs';
|
|
7
|
-
import { t as t$1 } from '../shared/core.
|
|
7
|
+
import { t as t$1 } from '../shared/core.4SpVCM9m.mjs';
|
|
8
8
|
import { i as i$1 } from '../shared/core.CpwrZi3D.mjs';
|
|
9
9
|
import { n as nameFromFqn, k as isSameHierarchy, p as parentFqn } from '../shared/core.C_C-3c1S.mjs';
|
|
10
10
|
import { t } from '../shared/core.zLlww-07.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Any } from '../shared/core.
|
|
2
|
-
import { g as LikeC4Model } from '../shared/core.
|
|
3
|
-
import { n as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, al as ParsedView, ao as ComputedView } from '../shared/core.
|
|
1
|
+
import { A as Any } from '../shared/core.DAj3LuFH.mjs';
|
|
2
|
+
import { g as LikeC4Model } from '../shared/core.DrS4Bf4y.mjs';
|
|
3
|
+
import { n as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, al as ParsedView, ao as ComputedView } from '../shared/core.IWLie-Ma.mjs';
|
|
4
4
|
import 'type-fest';
|
|
5
5
|
import '../shared/core.DuSLYTG6.mjs';
|
|
6
6
|
import '../shared/core.668kXpZq.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Graph, w as willCreateCycle, t as topologicalSortExports, i as i$2, l } from '../shared/core.
|
|
2
|
-
export { c as computeLikeC4Model, a as computeParsedModelData, b as computeView, u as unsafeComputeView } from '../shared/core.
|
|
1
|
+
import { G as Graph, w as willCreateCycle, t as topologicalSortExports, i as i$2, l } from '../shared/core.PqNe5WxQ.mjs';
|
|
2
|
+
export { c as computeLikeC4Model, a as computeParsedModelData, b as computeView, u as unsafeComputeView } from '../shared/core.PqNe5WxQ.mjs';
|
|
3
3
|
import { i as i$1 } from '../shared/core.D5qVzkws.mjs';
|
|
4
|
-
import { r } from '../shared/core.
|
|
4
|
+
import { r } from '../shared/core.4SpVCM9m.mjs';
|
|
5
5
|
import { h as isExtendsElementView, f as isElementView } from '../shared/core.DXRAwwDB.mjs';
|
|
6
6
|
import { o as isNonEmptyArray } from '../shared/core.C_C-3c1S.mjs';
|
|
7
7
|
import { i } from '../shared/core.CpwrZi3D.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Any, U as Unknown, g as ElementId, V as ViewId } from '../../shared/core.
|
|
2
|
-
import { E as ElementModel, R as RelationshipModel, g as LikeC4Model } from '../../shared/core.
|
|
1
|
+
import { A as Any, U as Unknown, g as ElementId, V as ViewId } from '../../shared/core.DAj3LuFH.mjs';
|
|
2
|
+
import { E as ElementModel, R as RelationshipModel, g as LikeC4Model } from '../../shared/core.DrS4Bf4y.mjs';
|
|
3
3
|
import 'type-fest';
|
|
4
4
|
import '../../shared/core.DuSLYTG6.mjs';
|
|
5
5
|
import '../../shared/core.668kXpZq.mjs';
|
|
6
6
|
import '../../shared/core.CywrQs86.mjs';
|
|
7
|
-
import '../../shared/core.
|
|
7
|
+
import '../../shared/core.IWLie-Ma.mjs';
|
|
8
8
|
import '../../shared/core.CzdwsPmY.mjs';
|
|
9
9
|
|
|
10
10
|
type RelationshipsViewData<M extends Any = Unknown> = {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { ElementColors, RelationshipColors, computeColorValues, defaultTheme } from './theme/index.mjs';
|
|
2
2
|
export { BiMap, DefaultWeakMap, LinkedList, MultiMap, Queue, Stack, commonHead, compareNatural, compareNaturalHierarchically, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, intersection, invariant, isNonEmptyArray, isString, markdownToHtml, markdownToText, memoizeProp, nonNullable, nonexhaustive, objectHash, promiseNextTick, stringHash, symmetricDifference, union } from './utils/index.mjs';
|
|
3
3
|
export { D as DefaultMap } from './shared/core.CywrQs86.mjs';
|
|
4
|
-
export { A as Any, A as AnyAux,
|
|
4
|
+
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, e as _stage, f as _type, _ as aux, i as isOnStage } from './shared/core.DAj3LuFH.mjs';
|
|
5
5
|
export { A as AnyFqn, B as BuiltInIcon, D as DeploymentFqn, b as DeploymentKind, j as EdgeId, E as ElementKind, F as Fqn, e as GlobalFqn, G as GroupElementKind, I as Icon, a as IconUrl, M as MarkdownOrString, N as NodeId, P as ProjectId, d as RelationId, R as RelationKind, c as RelationshipKind, k as StepEdgeId, S as StepEdgeIdLiteral, m as StepEdgeKind, T as Tag, V as ViewId, o as extractStep, f as flattenMarkdownOrString, g as isGlobalFqn, i as isGroupElementKind, n as isStepEdgeId, s as scalar, h as splitGlobalFqn, l as stepEdgeId } from './shared/core.668kXpZq.mjs';
|
|
6
|
-
export { W as AbstractRelationship, ad as AndOperator, aE as AnyExcludePredicate, aD as AnyIncludePredicate, aq as AnyView, aF as AnyViewRuleStyle, aK as AutoLayoutDirection, z as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aS as BaseParsedViewProperties, aR as BaseViewProperties, aZ as ComputedDeploymentView, a_ as ComputedDynamicView, aX as ComputedEdge, aY as ComputedElementView, C as ComputedLikeC4ModelData, aW as ComputedNode, ao as ComputedView, U as DefaultArrowType, I as DefaultElementShape, T as DefaultLineStyle, K as DefaultPaddingSize, V as DefaultRelationshipColor, J as DefaultShapeSize, N as DefaultTextSize, H as DefaultThemeColor, q as DeployedInstance, r as DeploymentElement, s as DeploymentElementRef, D as DeploymentElementStyle, p as DeploymentNode, w as DeploymentRelation, v as DeploymentRelationship, b5 as DeploymentViewExcludePredicate, b4 as DeploymentViewIncludePredicate, b6 as DeploymentViewPredicate, b8 as DeploymentViewRule, b7 as DeploymentViewRuleStyle, b0 as DiagramEdge, a$ as DiagramNode, am as DiagramView, be as DynamicViewIncludeRule, bb as DynamicViewParallelSteps, bf as DynamicViewRule, ba as DynamicViewStep, bd as DynamicViewStepOrParallel, Q as Element, _ as ElementSpecification, O as ElementStyle, bj as ElementViewExcludePredicate, bi as ElementViewIncludePredicate, bk as ElementViewPredicate, bo as ElementViewRule, bl as ElementViewRuleGroup, bn as ElementViewRuleStyle, a3 as EqualOperator, E as Expression, ai as Filterable, F as FqnExpr, f as FqnRef, j as GlobalDynamicPredicates, G as GlobalPredicateId, i as GlobalPredicates, k as GlobalStyleID, l as GlobalStyles, a6 as KindEqual, b2 as LayoutedDeploymentView, b3 as LayoutedDynamicView, b1 as LayoutedElementView, L as LayoutedLikeC4ModelData, am as LayoutedView, o as LikeC4ModelData, y as LikeC4ModelDump, al as LikeC4View, e as ModelExpression, M as ModelFqnExpr, m as ModelGlobals, Z as ModelRelation, d as ModelRelationExpr, aT as NodeNotation, ab as NotOperator, aj as OperatorPredicate, af as OrOperator, b9 as ParsedDeploymentView, bg as ParsedDynamicView, bp as ParsedElementView, n as ParsedLikeC4ModelData, al as ParsedView, a8 as Participant, a9 as ParticipantOperator, g as Point, P as PredicateSelector, ap as ProcessedView, h as RectBox, c as RelationExpr, Y as Relationship, a1 as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, x as SpecTypesFromDump, a2 as Specification, S as SpecificationDump, a4 as TagEqual, $ as TagSpecification, aO as ViewAutoLayout, aP as ViewManualLayout, ar as ViewOnStage, at as ViewRule, aM as ViewRuleAutoLayout, aI as ViewRuleGlobalPredicateRef, aG as ViewRuleGlobalStyle, au as ViewRulePredicate, aQ as ViewType, aV as ViewWithHash, aU as ViewWithNotation, as as ViewWithType, ah as WhereOperator, X as XYPoint, bc as getParallelStepsPrefix, ae as isAndOperator, aL as isAutoLayoutDirection, ax as isComputedView, u as isDeployedInstance, t as isDeploymentNode, aB as isDeploymentView, an as isDiagramView, aC as isDynamicView, bh as isDynamicViewParallelSteps, ay as isElementView, aA as isExtendsElementView, a7 as isKindEqual, an as isLayoutedView, ac as isNotOperator, ag as isOrOperator, aa as isParticipantOperator, az as isScopedElementView, a0 as isTagColorSpecified, a5 as isTagEqual, aN as isViewRuleAutoLayout, aJ as isViewRuleGlobalPredicateRef, aH as isViewRuleGlobalStyle, bm as isViewRuleGroup, av as isViewRulePredicate, aw as isViewRuleStyle, ak as whereOperatorAsPredicate } from './shared/core.
|
|
6
|
+
export { W as AbstractRelationship, ad as AndOperator, aE as AnyExcludePredicate, aD as AnyIncludePredicate, aq as AnyView, aF as AnyViewRuleStyle, aK as AutoLayoutDirection, z as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aS as BaseParsedViewProperties, aR as BaseViewProperties, aZ as ComputedDeploymentView, a_ as ComputedDynamicView, aX as ComputedEdge, aY as ComputedElementView, C as ComputedLikeC4ModelData, aW as ComputedNode, ao as ComputedView, U as DefaultArrowType, I as DefaultElementShape, T as DefaultLineStyle, K as DefaultPaddingSize, V as DefaultRelationshipColor, J as DefaultShapeSize, N as DefaultTextSize, H as DefaultThemeColor, q as DeployedInstance, r as DeploymentElement, s as DeploymentElementRef, D as DeploymentElementStyle, p as DeploymentNode, w as DeploymentRelation, v as DeploymentRelationship, b5 as DeploymentViewExcludePredicate, b4 as DeploymentViewIncludePredicate, b6 as DeploymentViewPredicate, b8 as DeploymentViewRule, b7 as DeploymentViewRuleStyle, b0 as DiagramEdge, a$ as DiagramNode, am as DiagramView, be as DynamicViewIncludeRule, bb as DynamicViewParallelSteps, bf as DynamicViewRule, ba as DynamicViewStep, bd as DynamicViewStepOrParallel, Q as Element, _ as ElementSpecification, O as ElementStyle, bj as ElementViewExcludePredicate, bi as ElementViewIncludePredicate, bk as ElementViewPredicate, bo as ElementViewRule, bl as ElementViewRuleGroup, bn as ElementViewRuleStyle, a3 as EqualOperator, E as Expression, ai as Filterable, F as FqnExpr, f as FqnRef, j as GlobalDynamicPredicates, G as GlobalPredicateId, i as GlobalPredicates, k as GlobalStyleID, l as GlobalStyles, a6 as KindEqual, b2 as LayoutedDeploymentView, b3 as LayoutedDynamicView, b1 as LayoutedElementView, L as LayoutedLikeC4ModelData, am as LayoutedView, o as LikeC4ModelData, y as LikeC4ModelDump, al as LikeC4View, e as ModelExpression, M as ModelFqnExpr, m as ModelGlobals, Z as ModelRelation, d as ModelRelationExpr, aT as NodeNotation, ab as NotOperator, aj as OperatorPredicate, af as OrOperator, b9 as ParsedDeploymentView, bg as ParsedDynamicView, bp as ParsedElementView, n as ParsedLikeC4ModelData, al as ParsedView, a8 as Participant, a9 as ParticipantOperator, g as Point, P as PredicateSelector, ap as ProcessedView, h as RectBox, c as RelationExpr, Y as Relationship, a1 as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, x as SpecTypesFromDump, a2 as Specification, S as SpecificationDump, a4 as TagEqual, $ as TagSpecification, aO as ViewAutoLayout, aP as ViewManualLayout, ar as ViewOnStage, at as ViewRule, aM as ViewRuleAutoLayout, aI as ViewRuleGlobalPredicateRef, aG as ViewRuleGlobalStyle, au as ViewRulePredicate, aQ as ViewType, aV as ViewWithHash, aU as ViewWithNotation, as as ViewWithType, ah as WhereOperator, X as XYPoint, bc as getParallelStepsPrefix, ae as isAndOperator, aL as isAutoLayoutDirection, ax as isComputedView, u as isDeployedInstance, t as isDeploymentNode, aB as isDeploymentView, an as isDiagramView, aC as isDynamicView, bh as isDynamicViewParallelSteps, ay as isElementView, aA as isExtendsElementView, a7 as isKindEqual, an as isLayoutedView, ac as isNotOperator, ag as isOrOperator, aa as isParticipantOperator, az as isScopedElementView, a0 as isTagColorSpecified, a5 as isTagEqual, aN as isViewRuleAutoLayout, aJ as isViewRuleGlobalPredicateRef, aH as isViewRuleGlobalStyle, bm as isViewRuleGroup, av as isViewRulePredicate, aw as isViewRuleStyle, ak as whereOperatorAsPredicate } from './shared/core.IWLie-Ma.mjs';
|
|
7
7
|
export { C as Coalesce, E as ExclusiveUnion, I as IteratorLike, K as KeysOf, L as Link, b as NTuple, N as NonEmptyArray, a as NonEmptyReadonlyArray, P as Predicate } from './shared/core.DuSLYTG6.mjs';
|
|
8
8
|
export { b as BorderStyle, B as BorderStyles, i as Color, C as ColorLiteral, d as CustomColor, e as CustomColorDefinitions, c as ElementShape, E as ElementShapes, k as ElementThemeColorValues, l as ElementThemeColors, H as HexColor, L as LikeC4Theme, f as RelationshipArrowType, R as RelationshipLineType, m as RelationshipThemeColorValues, o as RelationshipThemeColors, a as ShapeSize, S as SpacingSize, T as TextSize, h as ThemeColor, n as ThemeColorValues, g as ThemeColors, j as isThemeColor } from './shared/core.CzdwsPmY.mjs';
|
|
9
9
|
export { ViewChange } from './types/index.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.
|
|
3
|
-
import '../../../shared/core.
|
|
4
|
-
import '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.D3xEWj5B.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.Di7__sMg.mjs';
|
|
3
|
+
import '../../../shared/core.DrS4Bf4y.mjs';
|
|
4
|
+
import '../../../shared/core.DAj3LuFH.mjs';
|
|
5
5
|
import 'type-fest';
|
|
6
6
|
import '../../../shared/core.DuSLYTG6.mjs';
|
|
7
7
|
import '../../../shared/core.668kXpZq.mjs';
|
|
8
8
|
import '../../../shared/core.CywrQs86.mjs';
|
|
9
|
-
import '../../../shared/core.
|
|
9
|
+
import '../../../shared/core.IWLie-Ma.mjs';
|
|
10
10
|
import '../../../shared/core.CzdwsPmY.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { C as Connection } from '../../shared/core.
|
|
2
|
-
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.
|
|
3
|
-
export { C as ConnectionModel, f as model } from '../../shared/core.
|
|
1
|
+
import { C as Connection } from '../../shared/core.D3xEWj5B.mjs';
|
|
2
|
+
export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.Di7__sMg.mjs';
|
|
3
|
+
export { C as ConnectionModel, f as model } from '../../shared/core.CJSFKrYf.mjs';
|
|
4
4
|
import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.CF82MWyh.mjs';
|
|
5
|
-
import '../../shared/core.
|
|
6
|
-
import '../../shared/core.
|
|
5
|
+
import '../../shared/core.DrS4Bf4y.mjs';
|
|
6
|
+
import '../../shared/core.DAj3LuFH.mjs';
|
|
7
7
|
import 'type-fest';
|
|
8
8
|
import '../../shared/core.DuSLYTG6.mjs';
|
|
9
9
|
import '../../shared/core.668kXpZq.mjs';
|
|
10
10
|
import '../../shared/core.CywrQs86.mjs';
|
|
11
|
-
import '../../shared/core.
|
|
11
|
+
import '../../shared/core.IWLie-Ma.mjs';
|
|
12
12
|
import '../../shared/core.CzdwsPmY.mjs';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { C as Connection } from '../../../shared/core.
|
|
2
|
-
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.
|
|
3
|
-
import '../../../shared/core.
|
|
4
|
-
import '../../../shared/core.
|
|
1
|
+
export { C as Connection } from '../../../shared/core.D3xEWj5B.mjs';
|
|
2
|
+
export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.CJSFKrYf.mjs';
|
|
3
|
+
import '../../../shared/core.DrS4Bf4y.mjs';
|
|
4
|
+
import '../../../shared/core.DAj3LuFH.mjs';
|
|
5
5
|
import 'type-fest';
|
|
6
6
|
import '../../../shared/core.DuSLYTG6.mjs';
|
|
7
7
|
import '../../../shared/core.668kXpZq.mjs';
|
|
8
8
|
import '../../../shared/core.CywrQs86.mjs';
|
|
9
|
-
import '../../../shared/core.
|
|
9
|
+
import '../../../shared/core.IWLie-Ma.mjs';
|
|
10
10
|
import '../../../shared/core.CzdwsPmY.mjs';
|
package/dist/model/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.
|
|
2
|
-
export { f as AnyLikeC4Model, k as DeploymentOrFqn, h as DeploymentRelationEndpoint, l as EdgeOrId, m as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, g as LikeC4Model, n as NodeOrId, O as OutgoingFilter, i as RelationshipsAccum, W as WithMetadata, o as WithTags } from '../shared/core.
|
|
3
|
-
import { A as Any } from '../shared/core.
|
|
4
|
-
export {
|
|
5
|
-
export { C as Connection } from '../shared/core.
|
|
6
|
-
export { C as ConnectionModel, f as modelConnection } from '../shared/core.
|
|
7
|
-
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.
|
|
1
|
+
import { D as DeploymentNodeModel, a as DeployedInstanceModel, b as DeploymentRelationModel, A as AnyRelationshipModel, N as NestedElementOfDeployedInstanceModel, E as ElementModel, R as RelationshipModel, L as LikeC4ViewModel, c as NodeModel, d as EdgeModel, e as DeploymentElementModel } from '../shared/core.DrS4Bf4y.mjs';
|
|
2
|
+
export { f as AnyLikeC4Model, k as DeploymentOrFqn, h as DeploymentRelationEndpoint, l as EdgeOrId, m as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, g as LikeC4Model, n as NodeOrId, O as OutgoingFilter, i as RelationshipsAccum, W as WithMetadata, o as WithTags } from '../shared/core.DrS4Bf4y.mjs';
|
|
3
|
+
import { A as Any } from '../shared/core.DAj3LuFH.mjs';
|
|
4
|
+
export { a as Aux, S as SpecAux, _ as aux } from '../shared/core.DAj3LuFH.mjs';
|
|
5
|
+
export { C as Connection } from '../shared/core.D3xEWj5B.mjs';
|
|
6
|
+
export { C as ConnectionModel, f as modelConnection } from '../shared/core.CJSFKrYf.mjs';
|
|
7
|
+
export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.Di7__sMg.mjs';
|
|
8
8
|
export { differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, sortConnectionsByBoundaryHierarchy, sortDeepestFirst } from './connection/index.mjs';
|
|
9
|
-
export { z as AuxFromDump, A as AuxFromLikeC4ModelData, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty } from '../shared/core.
|
|
9
|
+
export { z as AuxFromDump, A as AuxFromLikeC4ModelData, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty } from '../shared/core.IWLie-Ma.mjs';
|
|
10
10
|
import '../shared/core.CywrQs86.mjs';
|
|
11
11
|
import 'type-fest';
|
|
12
12
|
import '../shared/core.668kXpZq.mjs';
|
package/dist/model/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as EdgeModel, E as ElementModel, a as LikeC4DeploymentModel, L as LikeC4Model, c as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, d as isDeployedInstanceModel, e as isDeploymentElementModel, i as isDeploymentNodeModel, g as isDeploymentRelationModel, m as isEdgeModel, j as isElementModel, k as isLikeC4ViewModel, h as isModelRelation, f as isNestedElementOfDeployedInstanceModel, l as isNodeModel, h as isRelationModel, h as isRelationshipModel } from '../shared/core.
|
|
1
|
+
export { b as EdgeModel, E as ElementModel, a as LikeC4DeploymentModel, L as LikeC4Model, c as LikeC4ViewModel, N as NodeModel, R as RelationshipModel, d as isDeployedInstanceModel, e as isDeploymentElementModel, i as isDeploymentNodeModel, g as isDeploymentRelationModel, m as isEdgeModel, j as isElementModel, k as isLikeC4ViewModel, h as isModelRelation, f as isNestedElementOfDeployedInstanceModel, l as isNodeModel, h as isRelationModel, h as isRelationshipModel } from '../shared/core.4SpVCM9m.mjs';
|
|
2
2
|
export { c as DeployedInstanceModel, D as DeploymentConnectionModel, e as DeploymentNodeModel, g as DeploymentRelationModel, R as RelationshipsAccum, d as deploymentConnection } from '../shared/core.D5qVzkws.mjs';
|
|
3
3
|
export { C as Connection } from '../shared/core.C80Z37Eu.mjs';
|
|
4
4
|
export { C as ConnectionModel, d as differenceConnections, f as findAscendingConnections, a as findDeepestNestedConnection, b as findDescendantConnections, h as hasSameSource, c as hasSameSourceTarget, e as hasSameTarget, i as isAnyInOut, g as isIncoming, j as isNestedConnection, k as isOutgoing, m as mergeConnections, n as modelConnection, s as sortConnectionsByBoundaryHierarchy, l as sortDeepestFirst } from '../shared/core.BTnf14gD.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as u$1 } from './core.DbRvwARP.mjs';
|
|
2
2
|
import { p } from './core.BTnf14gD.mjs';
|
|
3
3
|
import { m as m$2 } from './core.ByrmCl9I.mjs';
|
|
4
|
-
import { g as hierarchyLevel, i as isAncestor, d as commonAncestor, l as sortNaturalByFqn, m as sortParentsFirst, p as parentFqn, b as ancestorsFqn, C, c as compareNatural } from './core.C_C-3c1S.mjs';
|
|
4
|
+
import { g as hierarchyLevel, n as nameFromFqn, i as isAncestor, d as commonAncestor, l as sortNaturalByFqn, m as sortParentsFirst, p as parentFqn, b as ancestorsFqn, C, c as compareNatural } from './core.C_C-3c1S.mjs';
|
|
5
5
|
import { g as getOrCreate } from './core.DcS-0zys.mjs';
|
|
6
6
|
import { i, n as n$2, e as DeploymentNodeModel, c as DeployedInstanceModel, N as NestedElementOfDeployedInstanceModel, g as DeploymentRelationModel } from './core.D5qVzkws.mjs';
|
|
7
7
|
import { D as DefaultMap } from './core.BMCb0wJI.mjs';
|
|
@@ -44,6 +44,9 @@ class ElementModel {
|
|
|
44
44
|
_literalId;
|
|
45
45
|
hierarchyLevel;
|
|
46
46
|
imported;
|
|
47
|
+
get name() {
|
|
48
|
+
return nameFromFqn(this.id);
|
|
49
|
+
}
|
|
47
50
|
get parent() {
|
|
48
51
|
return this.$model.parent(this);
|
|
49
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Connection, c as customInspectSymbol } from './core.
|
|
2
|
-
import { E as ElementModel, R as RelationshipModel } from './core.
|
|
3
|
-
import { A as Any, U as Unknown, B as EdgeId } from './core.
|
|
1
|
+
import { C as Connection, c as customInspectSymbol } from './core.D3xEWj5B.mjs';
|
|
2
|
+
import { E as ElementModel, R as RelationshipModel } from './core.DrS4Bf4y.mjs';
|
|
3
|
+
import { A as Any, U as Unknown, B as EdgeId } from './core.DAj3LuFH.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Connection refers to any relationships between two elements,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ElementModel, e as DeploymentElementModel } from './core.
|
|
2
|
-
import { A as Any } from './core.
|
|
1
|
+
import { E as ElementModel, e as DeploymentElementModel } from './core.DrS4Bf4y.mjs';
|
|
2
|
+
import { A as Any } from './core.DAj3LuFH.mjs';
|
|
3
3
|
import { F as Fqn } from './core.668kXpZq.mjs';
|
|
4
4
|
|
|
5
5
|
interface Connection<Elem = ElementModel<Any> | DeploymentElementModel<Any>, Id = string> {
|
|
@@ -199,61 +199,61 @@ type LooseElementKind<A extends Any> = Coalesce<A['ElementKind']> | OrString;
|
|
|
199
199
|
type LooseDeploymentKind<A extends Any> = Coalesce<A['DeploymentKind']> | OrString;
|
|
200
200
|
type LooseRelationKind<A extends Any> = Coalesce<A['RelationKind']> | OrString;
|
|
201
201
|
|
|
202
|
-
type
|
|
203
|
-
type
|
|
204
|
-
type
|
|
205
|
-
type
|
|
206
|
-
type
|
|
207
|
-
type
|
|
208
|
-
type
|
|
209
|
-
type
|
|
210
|
-
type
|
|
211
|
-
type
|
|
212
|
-
type
|
|
213
|
-
type
|
|
214
|
-
type
|
|
215
|
-
type
|
|
216
|
-
type
|
|
217
|
-
type
|
|
218
|
-
type
|
|
219
|
-
type
|
|
220
|
-
type
|
|
221
|
-
type
|
|
222
|
-
type
|
|
223
|
-
type
|
|
224
|
-
type
|
|
225
|
-
type
|
|
226
|
-
type
|
|
227
|
-
type
|
|
228
|
-
type
|
|
229
|
-
type
|
|
230
|
-
type
|
|
231
|
-
type
|
|
232
|
-
type
|
|
233
|
-
type
|
|
234
|
-
type
|
|
235
|
-
type
|
|
236
|
-
type
|
|
237
|
-
type
|
|
238
|
-
type
|
|
239
|
-
type
|
|
240
|
-
type
|
|
241
|
-
type
|
|
242
|
-
type
|
|
243
|
-
type
|
|
244
|
-
type
|
|
245
|
-
type
|
|
246
|
-
type
|
|
247
|
-
type
|
|
248
|
-
type
|
|
249
|
-
type
|
|
250
|
-
type
|
|
251
|
-
type
|
|
252
|
-
type
|
|
253
|
-
type
|
|
254
|
-
type
|
|
255
|
-
declare namespace
|
|
256
|
-
export type {
|
|
202
|
+
type _aux_AllKinds<A> = AllKinds<A>;
|
|
203
|
+
type _aux_Any = Any;
|
|
204
|
+
type _aux_AnySpec = AnySpec;
|
|
205
|
+
type _aux_Aux<Stage extends ModelStage, Element extends string, Deployment extends string, View extends string, Project extends string, Spec extends SpecAux<string, string, string, string, string>> = Aux<Stage, Element, Deployment, View, Project, Spec>;
|
|
206
|
+
type _aux_DeploymentFqn<A> = DeploymentFqn<A>;
|
|
207
|
+
type _aux_DeploymentId<A> = DeploymentId<A>;
|
|
208
|
+
type _aux_DeploymentKind<A> = DeploymentKind<A>;
|
|
209
|
+
type _aux_EdgeId = EdgeId;
|
|
210
|
+
type _aux_ElementId<A> = ElementId<A>;
|
|
211
|
+
type _aux_ElementKind<A> = ElementKind<A>;
|
|
212
|
+
type _aux_Fqn<A> = Fqn<A>;
|
|
213
|
+
type _aux_LooseDeploymentId<A extends Any> = LooseDeploymentId<A>;
|
|
214
|
+
type _aux_LooseDeploymentKind<A extends Any> = LooseDeploymentKind<A>;
|
|
215
|
+
type _aux_LooseElementId<A extends Any> = LooseElementId<A>;
|
|
216
|
+
type _aux_LooseElementKind<A extends Any> = LooseElementKind<A>;
|
|
217
|
+
type _aux_LooseRelationKind<A extends Any> = LooseRelationKind<A>;
|
|
218
|
+
type _aux_LooseTag<A extends Any> = LooseTag<A>;
|
|
219
|
+
type _aux_LooseTags<A extends Any> = LooseTags<A>;
|
|
220
|
+
type _aux_LooseViewId<A extends Any> = LooseViewId<A>;
|
|
221
|
+
type _aux_Metadata<A extends Any> = Metadata<A>;
|
|
222
|
+
type _aux_MetadataKey<A> = MetadataKey<A>;
|
|
223
|
+
type _aux_Never = Never;
|
|
224
|
+
type _aux_NodeId = NodeId;
|
|
225
|
+
type _aux_OrString = OrString;
|
|
226
|
+
type _aux_PickByStage<A extends Any, OnParsed, OnComputed, OnLayouted = OnComputed> = PickByStage<A, OnParsed, OnComputed, OnLayouted>;
|
|
227
|
+
type _aux_ProjectId<A> = ProjectId<A>;
|
|
228
|
+
type _aux_RelationId = RelationId;
|
|
229
|
+
type _aux_RelationKind<A> = RelationKind<A>;
|
|
230
|
+
type _aux_Spec<A> = Spec<A>;
|
|
231
|
+
type _aux_SpecAux<ElementKind extends string, DeploymentKind extends string, RelationKind extends string, Tag extends string, MetadataKey extends string> = SpecAux<ElementKind, DeploymentKind, RelationKind, Tag, MetadataKey>;
|
|
232
|
+
type _aux_Stage<A> = Stage<A>;
|
|
233
|
+
type _aux_StrictDeploymentKind<A> = StrictDeploymentKind<A>;
|
|
234
|
+
type _aux_StrictElementKind<A> = StrictElementKind<A>;
|
|
235
|
+
type _aux_StrictProjectId<A> = StrictProjectId<A>;
|
|
236
|
+
type _aux_StrictRelationKind<A> = StrictRelationKind<A>;
|
|
237
|
+
type _aux_StrictTag<A> = StrictTag<A>;
|
|
238
|
+
type _aux_StrictViewId<A> = StrictViewId<A>;
|
|
239
|
+
type _aux_Tag<A> = Tag<A>;
|
|
240
|
+
type _aux_Tags<A extends Any> = Tags<A>;
|
|
241
|
+
type _aux_Unknown = Unknown;
|
|
242
|
+
type _aux_UnknownComputed = UnknownComputed;
|
|
243
|
+
type _aux_UnknownLayouted = UnknownLayouted;
|
|
244
|
+
type _aux_UnknownParsed = UnknownParsed;
|
|
245
|
+
type _aux_ViewId<A> = ViewId<A>;
|
|
246
|
+
type _aux_WithLinks = WithLinks;
|
|
247
|
+
type _aux_WithMetadata<A extends Any> = WithMetadata<A>;
|
|
248
|
+
type _aux_WithOptionalLinks = WithOptionalLinks;
|
|
249
|
+
type _aux_WithOptionalTags<A extends Any> = WithOptionalTags<A>;
|
|
250
|
+
type _aux_WithTags<A extends Any> = WithTags<A>;
|
|
251
|
+
type _aux_setStage<A, S extends ModelStage> = setStage<A, S>;
|
|
252
|
+
type _aux_toComputed<A> = toComputed<A>;
|
|
253
|
+
type _aux_toLayouted<A> = toLayouted<A>;
|
|
254
|
+
type _aux_toParsed<A> = toParsed<A>;
|
|
255
|
+
declare namespace _aux {
|
|
256
|
+
export type { _aux_AllKinds as AllKinds, _aux_Any as Any, Any as AnyAux, _aux_AnySpec as AnySpec, _aux_Aux as Aux, _aux_DeploymentFqn as DeploymentFqn, _aux_DeploymentId as DeploymentId, _aux_DeploymentKind as DeploymentKind, _aux_EdgeId as EdgeId, _aux_ElementId as ElementId, _aux_ElementKind as ElementKind, _aux_Fqn as Fqn, _aux_LooseDeploymentId as LooseDeploymentId, _aux_LooseDeploymentKind as LooseDeploymentKind, _aux_LooseElementId as LooseElementId, _aux_LooseElementKind as LooseElementKind, _aux_LooseRelationKind as LooseRelationKind, _aux_LooseTag as LooseTag, _aux_LooseTags as LooseTags, _aux_LooseViewId as LooseViewId, _aux_Metadata as Metadata, _aux_MetadataKey as MetadataKey, _aux_Never as Never, _aux_NodeId as NodeId, _aux_OrString as OrString, _aux_PickByStage as PickByStage, _aux_ProjectId as ProjectId, _aux_RelationId as RelationId, _aux_RelationKind as RelationKind, _aux_Spec as Spec, _aux_SpecAux as SpecAux, _aux_Stage as Stage, DeploymentFqn as StrictDeploymentFqn, _aux_StrictDeploymentKind as StrictDeploymentKind, _aux_StrictElementKind as StrictElementKind, Fqn as StrictFqn, _aux_StrictProjectId as StrictProjectId, _aux_StrictRelationKind as StrictRelationKind, _aux_StrictTag as StrictTag, _aux_StrictViewId as StrictViewId, _aux_Tag as Tag, _aux_Tags as Tags, _aux_Unknown as Unknown, _aux_UnknownComputed as UnknownComputed, _aux_UnknownLayouted as UnknownLayouted, _aux_UnknownParsed as UnknownParsed, _aux_ViewId as ViewId, _aux_WithLinks as WithLinks, _aux_WithMetadata as WithMetadata, _aux_WithOptionalLinks as WithOptionalLinks, _aux_WithOptionalTags as WithOptionalTags, _aux_WithTags as WithTags, _aux_setStage as setStage, _aux_toComputed as toComputed, _aux_toLayouted as toLayouted, _aux_toParsed as toParsed };
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
export { type WithLinks as $, type Any as A, type EdgeId as B, type AnySpec as C, type DeploymentKind as D, type ExtractOnStage as E, type Fqn as F, type PickByStage as G, type setStage as H, type NodeId as I, type Spec as J, type StrictProjectId as K, type LooseTag as L, type ModelStage as M, type Never as N, type StrictTag as O, type ProjectId as P, type StrictElementKind as Q, type RelationKind as R, type SpecAux as S, type Tags as T, type Unknown as U, type ViewId as V, type WithOptionalTags as W, type StrictDeploymentKind as X, type StrictRelationKind as Y, type WithTags as Z,
|
|
259
|
+
export { type WithLinks as $, type Any as A, type EdgeId as B, type AnySpec as C, type DeploymentKind as D, type ExtractOnStage as E, type Fqn as F, type PickByStage as G, type setStage as H, type NodeId as I, type Spec as J, type StrictProjectId as K, type LooseTag as L, type ModelStage as M, type Never as N, type StrictTag as O, type ProjectId as P, type StrictElementKind as Q, type RelationKind as R, type SpecAux as S, type Tags as T, type Unknown as U, type ViewId as V, type WithOptionalTags as W, type StrictDeploymentKind as X, type StrictRelationKind as Y, type WithTags as Z, _aux as _, type Aux as a, type OrString as a0, type LooseTags as a1, type LooseElementKind as a2, type LooseDeploymentKind as a3, type LooseRelationKind as a4, type UnknownComputed as b, type UnknownLayouted as c, type UnknownParsed as d, _stage as e, _type as f, type ElementId as g, type Metadata as h, isOnStage as i, type MetadataKey as j, type ElementKind as k, type RelationId as l, type StrictViewId as m, type LooseElementId as n, type LooseDeploymentId as o, type DeploymentFqn as p, type toLayouted as q, type Stage as r, type DeploymentId as s, type toComputed as t, type Tag as u, type toParsed as v, type LooseViewId as w, type AllKinds as x, type WithOptionalLinks as y, type WithMetadata as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Connection, c as customInspectSymbol } from './core.
|
|
2
|
-
import { e as DeploymentElementModel, i as RelationshipsAccum, D as DeploymentNodeModel, R as RelationshipModel, b as DeploymentRelationModel } from './core.
|
|
3
|
-
import { A as Any, B as EdgeId } from './core.
|
|
1
|
+
import { C as Connection, c as customInspectSymbol } from './core.D3xEWj5B.mjs';
|
|
2
|
+
import { e as DeploymentElementModel, i as RelationshipsAccum, D as DeploymentNodeModel, R as RelationshipModel, b as DeploymentRelationModel } from './core.DrS4Bf4y.mjs';
|
|
3
|
+
import { A as Any, B as EdgeId } from './core.DAj3LuFH.mjs';
|
|
4
4
|
import { I as IteratorLike } from './core.DuSLYTG6.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as Any, R as RelationKind, T as Tags, h as Metadata, j as MetadataKey, L as LooseTag, F as Fqn, g as ElementId, k as ElementKind, D as DeploymentKind, E as ExtractOnStage, l as RelationId$1, f as _type, m as StrictViewId, n as LooseElementId, o as LooseDeploymentId, p as DeploymentFqn, t as toComputed, q as toLayouted, r as Stage, s as DeploymentId, U as Unknown, V as ViewId, u as Tag, v as toParsed, P as ProjectId$1, w as LooseViewId,
|
|
1
|
+
import { A as Any, R as RelationKind, T as Tags, h as Metadata, j as MetadataKey, L as LooseTag, F as Fqn, g as ElementId, k as ElementKind, D as DeploymentKind, E as ExtractOnStage, l as RelationId$1, f as _type, m as StrictViewId, n as LooseElementId, o as LooseDeploymentId, p as DeploymentFqn, t as toComputed, q as toLayouted, r as Stage, s as DeploymentId, U as Unknown, V as ViewId, u as Tag, v as toParsed, P as ProjectId$1, w as LooseViewId, a as Aux, S as SpecAux, d as UnknownParsed, b as UnknownComputed, c as UnknownLayouted } from './core.DAj3LuFH.mjs';
|
|
2
2
|
import { D as DefaultMap } from './core.CywrQs86.mjs';
|
|
3
3
|
import { SetRequired } from 'type-fest';
|
|
4
4
|
import { d as RelationId, P as ProjectId, a as IconUrl, N as NodeId, G as GroupElementKind, j as EdgeId, k as StepEdgeId, V as ViewId$1 } from './core.668kXpZq.mjs';
|
|
5
|
-
import { b as RichTextOrEmpty, Y as Relationship, Q as Element, O as ElementStyle, as as ViewWithType, ao as ComputedView, am as LayoutedView, n as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, L as LayoutedLikeC4ModelData, f as FqnRef, q as DeployedInstance, D as DeploymentElementStyle, v as DeploymentRelationship, r as DeploymentElement, p as DeploymentNode, y as LikeC4ModelDump, z as AuxFromDump, a2 as Specification, m as ModelGlobals, ah as WhereOperator } from './core.
|
|
5
|
+
import { b as RichTextOrEmpty, Y as Relationship, Q as Element, O as ElementStyle, as as ViewWithType, ao as ComputedView, am as LayoutedView, n as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, L as LayoutedLikeC4ModelData, f as FqnRef, q as DeployedInstance, D as DeploymentElementStyle, v as DeploymentRelationship, r as DeploymentElement, p as DeploymentNode, y as LikeC4ModelDump, z as AuxFromDump, a2 as Specification, m as ModelGlobals, ah as WhereOperator } from './core.IWLie-Ma.mjs';
|
|
6
6
|
import { I as IteratorLike, L as Link } from './core.DuSLYTG6.mjs';
|
|
7
7
|
import { i as Color, R as RelationshipLineType, c as ElementShape } from './core.CzdwsPmY.mjs';
|
|
8
8
|
|
|
@@ -75,6 +75,7 @@ declare class ElementModel<A extends Any = Any> implements WithTags<A>, WithMeta
|
|
|
75
75
|
fqn: Fqn<A>;
|
|
76
76
|
};
|
|
77
77
|
constructor($model: LikeC4Model<A>, $element: Element<A>);
|
|
78
|
+
get name(): string;
|
|
78
79
|
get parent(): ElementModel<A> | null;
|
|
79
80
|
get kind(): ElementKind<A>;
|
|
80
81
|
get shape(): ElementShape;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Simplify, MergeExclusive, Tagged, NonEmptyTuple, IsNever, IsAny } from 'type-fest';
|
|
2
|
+
import { A as Any, U as Unknown, g as ElementId, P as ProjectId, F as Fqn, s as DeploymentId, u as Tag, x as AllKinds, T as Tags, m as StrictViewId, k as ElementKind, W as WithOptionalTags, y as WithOptionalLinks, e as _stage, f as _type, z as WithMetadata, h as Metadata, R as RelationKind, V as ViewId, p as DeploymentFqn, D as DeploymentKind, j as MetadataKey, E as ExtractOnStage, M as ModelStage, d as UnknownParsed, b as UnknownComputed, c as UnknownLayouted, S as SpecAux, a as Aux, N as Never } from './core.DAj3LuFH.mjs';
|
|
2
3
|
import { E as ExclusiveUnion, N as NonEmptyArray, L as Link, K as KeysOf } from './core.DuSLYTG6.mjs';
|
|
3
|
-
import { A as Any, U as Unknown, g as ElementId, P as ProjectId, F as Fqn, s as DeploymentId, u as Tag, x as AllKinds, T as Tags, m as StrictViewId, k as ElementKind, W as WithOptionalTags, y as WithOptionalLinks, _ as _stage, f as _type, z as WithMetadata, h as Metadata, R as RelationKind, V as ViewId, p as DeploymentFqn, D as DeploymentKind, j as MetadataKey, E as ExtractOnStage, M as ModelStage, e as UnknownParsed, c as UnknownComputed, d as UnknownLayouted, S as SpecAux, b as Aux, N as Never } from './core.De___iBS.mjs';
|
|
4
4
|
import { I as Icon, M as MarkdownOrString, d as RelationId, T as Tag$1, N as NodeId, j as EdgeId, m as StepEdgeKind } from './core.668kXpZq.mjs';
|
|
5
5
|
import { i as Color, R as RelationshipLineType, f as RelationshipArrowType, c as ElementShape, b as BorderStyle, a as ShapeSize, S as SpacingSize, T as TextSize, h as ThemeColor, C as ColorLiteral, e as CustomColorDefinitions } from './core.CzdwsPmY.mjs';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a$4, t as t$3, r as r$3, j as isElementModel, f as isNestedElementOfDeployedInstanceModel, d as isDeployedInstanceModel, i as isDeploymentNodeModel, e as isDeploymentElementModel, L as LikeC4Model } from './core.
|
|
1
|
+
import { n as a$4, t as t$3, r as r$3, j as isElementModel, f as isNestedElementOfDeployedInstanceModel, d as isDeployedInstanceModel, i as isDeploymentNodeModel, e as isDeploymentElementModel, L as LikeC4Model } from './core.4SpVCM9m.mjs';
|
|
2
2
|
import { u as u$6 } from './core.DbRvwARP.mjs';
|
|
3
3
|
import { m as m$2 } from './core.ByrmCl9I.mjs';
|
|
4
4
|
import { i as i$a, t as t$4, n as n$3, d as deploymentConnection, R as RelationshipsAccum, D as DeploymentConnectionModel } from './core.D5qVzkws.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'type-fest';
|
|
2
2
|
import '../shared/core.DuSLYTG6.mjs';
|
|
3
|
-
export { x as AllKinds, A as Any, A as AnyAux, C as AnySpec,
|
|
3
|
+
export { x as AllKinds, A as Any, A as AnyAux, C as AnySpec, a as Aux, p as DeploymentFqn, s as DeploymentId, D as DeploymentKind, B as EdgeId, g as ElementId, k as ElementKind, F as Fqn, o as LooseDeploymentId, a3 as LooseDeploymentKind, n as LooseElementId, a2 as LooseElementKind, a4 as LooseRelationKind, L as LooseTag, a1 as LooseTags, w as LooseViewId, h as Metadata, j as MetadataKey, N as Never, I as NodeId, a0 as OrString, G as PickByStage, P as ProjectId, l as RelationId, R as RelationKind, J as Spec, S as SpecAux, r as Stage, p as StrictDeploymentFqn, X as StrictDeploymentKind, Q as StrictElementKind, F as StrictFqn, K as StrictProjectId, Y as StrictRelationKind, O as StrictTag, m as StrictViewId, u as Tag, T as Tags, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, V as ViewId, $ as WithLinks, z as WithMetadata, y as WithOptionalLinks, W as WithOptionalTags, Z as WithTags, H as setStage, t as toComputed, q as toLayouted, v as toParsed } from '../shared/core.DAj3LuFH.mjs';
|
|
4
4
|
import '../shared/core.668kXpZq.mjs';
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { N as NonEmptyArray } from '../shared/core.DuSLYTG6.mjs';
|
|
2
2
|
export { C as Coalesce, E as ExclusiveUnion, I as IteratorLike, K as KeysOf, L as Link, b as NTuple, a as NonEmptyReadonlyArray, P as Predicate } from '../shared/core.DuSLYTG6.mjs';
|
|
3
|
-
export { A as Any, A as AnyAux,
|
|
4
|
-
import { aP as ViewManualLayout, aK as AutoLayoutDirection } from '../shared/core.
|
|
5
|
-
export { W as AbstractRelationship, ad as AndOperator, aE as AnyExcludePredicate, aD as AnyIncludePredicate, aq as AnyView, aF as AnyViewRuleStyle, z as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aS as BaseParsedViewProperties, aR as BaseViewProperties, aZ as ComputedDeploymentView, a_ as ComputedDynamicView, aX as ComputedEdge, aY as ComputedElementView, C as ComputedLikeC4ModelData, aW as ComputedNode, ao as ComputedView, U as DefaultArrowType, I as DefaultElementShape, T as DefaultLineStyle, K as DefaultPaddingSize, V as DefaultRelationshipColor, J as DefaultShapeSize, N as DefaultTextSize, H as DefaultThemeColor, q as DeployedInstance, r as DeploymentElement, s as DeploymentElementRef, D as DeploymentElementStyle, p as DeploymentNode, w as DeploymentRelation, v as DeploymentRelationship, b5 as DeploymentViewExcludePredicate, b4 as DeploymentViewIncludePredicate, b6 as DeploymentViewPredicate, b8 as DeploymentViewRule, b7 as DeploymentViewRuleStyle, b0 as DiagramEdge, a$ as DiagramNode, am as DiagramView, be as DynamicViewIncludeRule, bb as DynamicViewParallelSteps, bf as DynamicViewRule, ba as DynamicViewStep, bd as DynamicViewStepOrParallel, Q as Element, _ as ElementSpecification, O as ElementStyle, bj as ElementViewExcludePredicate, bi as ElementViewIncludePredicate, bk as ElementViewPredicate, bo as ElementViewRule, bl as ElementViewRuleGroup, bn as ElementViewRuleStyle, a3 as EqualOperator, E as Expression, ai as Filterable, F as FqnExpr, f as FqnRef, j as GlobalDynamicPredicates, G as GlobalPredicateId, i as GlobalPredicates, k as GlobalStyleID, l as GlobalStyles, a6 as KindEqual, b2 as LayoutedDeploymentView, b3 as LayoutedDynamicView, b1 as LayoutedElementView, L as LayoutedLikeC4ModelData, am as LayoutedView, o as LikeC4ModelData, y as LikeC4ModelDump, al as LikeC4View, e as ModelExpression, M as ModelFqnExpr, m as ModelGlobals, Z as ModelRelation, d as ModelRelationExpr, aT as NodeNotation, ab as NotOperator, aj as OperatorPredicate, af as OrOperator, b9 as ParsedDeploymentView, bg as ParsedDynamicView, bp as ParsedElementView, n as ParsedLikeC4ModelData, al as ParsedView, a8 as Participant, a9 as ParticipantOperator, g as Point, P as PredicateSelector, ap as ProcessedView, h as RectBox, c as RelationExpr, Y as Relationship, a1 as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, x as SpecTypesFromDump, a2 as Specification, S as SpecificationDump, a4 as TagEqual, $ as TagSpecification, aO as ViewAutoLayout, ar as ViewOnStage, at as ViewRule, aM as ViewRuleAutoLayout, aI as ViewRuleGlobalPredicateRef, aG as ViewRuleGlobalStyle, au as ViewRulePredicate, aQ as ViewType, aV as ViewWithHash, aU as ViewWithNotation, as as ViewWithType, ah as WhereOperator, X as XYPoint, bc as getParallelStepsPrefix, ae as isAndOperator, aL as isAutoLayoutDirection, ax as isComputedView, u as isDeployedInstance, t as isDeploymentNode, aB as isDeploymentView, an as isDiagramView, aC as isDynamicView, bh as isDynamicViewParallelSteps, ay as isElementView, aA as isExtendsElementView, a7 as isKindEqual, an as isLayoutedView, ac as isNotOperator, ag as isOrOperator, aa as isParticipantOperator, az as isScopedElementView, a0 as isTagColorSpecified, a5 as isTagEqual, aN as isViewRuleAutoLayout, aJ as isViewRuleGlobalPredicateRef, aH as isViewRuleGlobalStyle, bm as isViewRuleGroup, av as isViewRulePredicate, aw as isViewRuleStyle, ak as whereOperatorAsPredicate } from '../shared/core.
|
|
3
|
+
export { A as Any, A as AnyAux, a as Aux, E as ExtractOnStage, M as ModelStage, S as SpecAux, U as Unknown, b as UnknownComputed, c as UnknownLayouted, d as UnknownParsed, e as _stage, f as _type, _ as aux, i as isOnStage } from '../shared/core.DAj3LuFH.mjs';
|
|
4
|
+
import { aP as ViewManualLayout, aK as AutoLayoutDirection } from '../shared/core.IWLie-Ma.mjs';
|
|
5
|
+
export { W as AbstractRelationship, ad as AndOperator, aE as AnyExcludePredicate, aD as AnyIncludePredicate, aq as AnyView, aF as AnyViewRuleStyle, z as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aS as BaseParsedViewProperties, aR as BaseViewProperties, aZ as ComputedDeploymentView, a_ as ComputedDynamicView, aX as ComputedEdge, aY as ComputedElementView, C as ComputedLikeC4ModelData, aW as ComputedNode, ao as ComputedView, U as DefaultArrowType, I as DefaultElementShape, T as DefaultLineStyle, K as DefaultPaddingSize, V as DefaultRelationshipColor, J as DefaultShapeSize, N as DefaultTextSize, H as DefaultThemeColor, q as DeployedInstance, r as DeploymentElement, s as DeploymentElementRef, D as DeploymentElementStyle, p as DeploymentNode, w as DeploymentRelation, v as DeploymentRelationship, b5 as DeploymentViewExcludePredicate, b4 as DeploymentViewIncludePredicate, b6 as DeploymentViewPredicate, b8 as DeploymentViewRule, b7 as DeploymentViewRuleStyle, b0 as DiagramEdge, a$ as DiagramNode, am as DiagramView, be as DynamicViewIncludeRule, bb as DynamicViewParallelSteps, bf as DynamicViewRule, ba as DynamicViewStep, bd as DynamicViewStepOrParallel, Q as Element, _ as ElementSpecification, O as ElementStyle, bj as ElementViewExcludePredicate, bi as ElementViewIncludePredicate, bk as ElementViewPredicate, bo as ElementViewRule, bl as ElementViewRuleGroup, bn as ElementViewRuleStyle, a3 as EqualOperator, E as Expression, ai as Filterable, F as FqnExpr, f as FqnRef, j as GlobalDynamicPredicates, G as GlobalPredicateId, i as GlobalPredicates, k as GlobalStyleID, l as GlobalStyles, a6 as KindEqual, b2 as LayoutedDeploymentView, b3 as LayoutedDynamicView, b1 as LayoutedElementView, L as LayoutedLikeC4ModelData, am as LayoutedView, o as LikeC4ModelData, y as LikeC4ModelDump, al as LikeC4View, e as ModelExpression, M as ModelFqnExpr, m as ModelGlobals, Z as ModelRelation, d as ModelRelationExpr, aT as NodeNotation, ab as NotOperator, aj as OperatorPredicate, af as OrOperator, b9 as ParsedDeploymentView, bg as ParsedDynamicView, bp as ParsedElementView, n as ParsedLikeC4ModelData, al as ParsedView, a8 as Participant, a9 as ParticipantOperator, g as Point, P as PredicateSelector, ap as ProcessedView, h as RectBox, c as RelationExpr, Y as Relationship, a1 as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, x as SpecTypesFromDump, a2 as Specification, S as SpecificationDump, a4 as TagEqual, $ as TagSpecification, aO as ViewAutoLayout, ar as ViewOnStage, at as ViewRule, aM as ViewRuleAutoLayout, aI as ViewRuleGlobalPredicateRef, aG as ViewRuleGlobalStyle, au as ViewRulePredicate, aQ as ViewType, aV as ViewWithHash, aU as ViewWithNotation, as as ViewWithType, ah as WhereOperator, X as XYPoint, bc as getParallelStepsPrefix, ae as isAndOperator, aL as isAutoLayoutDirection, ax as isComputedView, u as isDeployedInstance, t as isDeploymentNode, aB as isDeploymentView, an as isDiagramView, aC as isDynamicView, bh as isDynamicViewParallelSteps, ay as isElementView, aA as isExtendsElementView, a7 as isKindEqual, an as isLayoutedView, ac as isNotOperator, ag as isOrOperator, aa as isParticipantOperator, az as isScopedElementView, a0 as isTagColorSpecified, a5 as isTagEqual, aN as isViewRuleAutoLayout, aJ as isViewRuleGlobalPredicateRef, aH as isViewRuleGlobalStyle, bm as isViewRuleGroup, av as isViewRulePredicate, aw as isViewRuleStyle, ak as whereOperatorAsPredicate } from '../shared/core.IWLie-Ma.mjs';
|
|
6
6
|
import { F as Fqn, D as DeploymentFqn } from '../shared/core.668kXpZq.mjs';
|
|
7
7
|
export { A as AnyFqn, B as BuiltInIcon, b as DeploymentKind, j as EdgeId, E as ElementKind, e as GlobalFqn, G as GroupElementKind, I as Icon, a as IconUrl, M as MarkdownOrString, N as NodeId, P as ProjectId, d as RelationId, R as RelationKind, c as RelationshipKind, k as StepEdgeId, S as StepEdgeIdLiteral, m as StepEdgeKind, T as Tag, V as ViewId, o as extractStep, f as flattenMarkdownOrString, g as isGlobalFqn, i as isGroupElementKind, n as isStepEdgeId, s as scalar, h as splitGlobalFqn, l as stepEdgeId } from '../shared/core.668kXpZq.mjs';
|
|
8
8
|
import { b as BorderStyle, c as ElementShape, h as ThemeColor } from '../shared/core.CzdwsPmY.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"default": "./dist/utils/index.mjs"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"./types/
|
|
73
|
-
"sources": "./src/types/
|
|
72
|
+
"./types/_aux": {
|
|
73
|
+
"sources": "./src/types/_aux.ts",
|
|
74
74
|
"default": {
|
|
75
|
-
"types": "./dist/types/
|
|
76
|
-
"import": "./dist/types/
|
|
77
|
-
"default": "./dist/types/
|
|
75
|
+
"types": "./dist/types/_aux.d.mts",
|
|
76
|
+
"import": "./dist/types/_aux.mjs",
|
|
77
|
+
"default": "./dist/types/_aux.mjs"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"./types": {
|
|
@@ -106,14 +106,14 @@
|
|
|
106
106
|
"unified": "11.0.5"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@dagrejs/dagre": "1.1.
|
|
110
|
-
"@mantine/colors-generator": "8.1.
|
|
111
|
-
"@types/extend": "3.0.
|
|
112
|
-
"@types/hast": "3.0.
|
|
113
|
-
"@types/mdast": "4.0.
|
|
109
|
+
"@dagrejs/dagre": "1.1.5",
|
|
110
|
+
"@mantine/colors-generator": "8.1.2",
|
|
111
|
+
"@types/extend": "3.0.4",
|
|
112
|
+
"@types/hast": "3.0.4",
|
|
113
|
+
"@types/mdast": "4.0.4",
|
|
114
114
|
"@types/natural-compare-lite": "^1.4.2",
|
|
115
115
|
"@types/object-hash": "^3.0.6",
|
|
116
|
-
"@types/unist": "3.0.
|
|
116
|
+
"@types/unist": "3.0.3",
|
|
117
117
|
"@types/node": "~20.19.1",
|
|
118
118
|
"chroma-js": "^3.1.2",
|
|
119
119
|
"defu": "^6.1.4",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"typescript": "5.8.3",
|
|
131
131
|
"unbuild": "3.5.0",
|
|
132
132
|
"vitest": "3.2.4",
|
|
133
|
-
"@likec4/tsconfig": "1.
|
|
133
|
+
"@likec4/tsconfig": "1.34.1"
|
|
134
134
|
},
|
|
135
135
|
"scripts": {
|
|
136
136
|
"typecheck": "tsc -b --verbose",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
DefaultThemeColor,
|
|
21
21
|
RichText,
|
|
22
22
|
} from '../types'
|
|
23
|
-
import * as aux from '../types/
|
|
23
|
+
import * as aux from '../types/_aux'
|
|
24
24
|
import { commonAncestor, hierarchyLevel, memoizeProp, nonNullable } from '../utils'
|
|
25
25
|
import { difference, intersection, union } from '../utils/set'
|
|
26
26
|
import type { LikeC4DeploymentModel } from './DeploymentModel'
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
FqnRef,
|
|
8
8
|
isDeploymentNode,
|
|
9
9
|
} from '../types'
|
|
10
|
-
import * as aux from '../types/
|
|
10
|
+
import * as aux from '../types/_aux'
|
|
11
11
|
import { invariant, nonNullable } from '../utils'
|
|
12
12
|
import { ancestorsFqn, parentFqn, sortParentsFirst } from '../utils/fqn'
|
|
13
13
|
import { getOrCreate } from '../utils/getOrCreate'
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
RichText,
|
|
16
16
|
splitGlobalFqn,
|
|
17
17
|
} from '../types'
|
|
18
|
-
import * as aux from '../types/
|
|
19
|
-
import { commonAncestor, hierarchyLevel, ihead, isAncestor, memoizeProp, sortNaturalByFqn } from '../utils'
|
|
18
|
+
import * as aux from '../types/_aux'
|
|
19
|
+
import { commonAncestor, hierarchyLevel, ihead, isAncestor, memoizeProp, nameFromFqn, sortNaturalByFqn } from '../utils'
|
|
20
20
|
import { type DeployedInstancesIterator } from './DeploymentElementModel'
|
|
21
21
|
import type { LikeC4Model } from './LikeC4Model'
|
|
22
22
|
import type { RelationshipModel, RelationshipsIterator } from './RelationModel'
|
|
@@ -54,6 +54,10 @@ export class ElementModel<A extends AnyAux = Any> implements WithTags<A>, WithMe
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
get name(): string {
|
|
58
|
+
return nameFromFqn(this.id)
|
|
59
|
+
}
|
|
60
|
+
|
|
57
61
|
get parent(): ElementModel<A> | null {
|
|
58
62
|
return this.$model.parent(this)
|
|
59
63
|
}
|
package/src/model/LikeC4Model.ts
CHANGED
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
WhereOperator,
|
|
17
17
|
} from '../types'
|
|
18
18
|
import { type ProjectId, _stage, GlobalFqn, isGlobalFqn, isOnStage, whereOperatorAsPredicate } from '../types'
|
|
19
|
-
import type * as aux from '../types/
|
|
19
|
+
import type * as aux from '../types/_aux'
|
|
20
20
|
import { compareNatural, ifilter, invariant, memoizeProp, nonNullable } from '../utils'
|
|
21
21
|
import { ancestorsFqn, commonAncestor, parentFqn, sortParentsFirst } from '../utils/fqn'
|
|
22
22
|
import { DefaultMap } from '../utils/mnemonist'
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
FqnRef,
|
|
10
10
|
RichText,
|
|
11
11
|
} from '../types'
|
|
12
|
-
import type * as aux from '../types/
|
|
12
|
+
import type * as aux from '../types/_aux'
|
|
13
13
|
import { commonAncestor } from '../utils/fqn'
|
|
14
14
|
import type { DeploymentRelationModel } from './DeploymentElementModel'
|
|
15
15
|
import type { ElementModel } from './ElementModel'
|
package/src/model/types.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
ViewType,
|
|
11
11
|
ViewWithType,
|
|
12
12
|
} from '../types'
|
|
13
|
-
import type * as aux from '../types/
|
|
13
|
+
import type * as aux from '../types/_aux'
|
|
14
14
|
import type { LikeC4ViewModel } from './view/LikeC4ViewModel'
|
|
15
15
|
|
|
16
16
|
export type IncomingFilter = 'all' | 'direct' | 'to-descendants'
|
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
} from '../../types'
|
|
10
10
|
import { _stage, _type } from '../../types'
|
|
11
11
|
import { type RichTextOrEmpty, RichText } from '../../types'
|
|
12
|
-
import type * as aux from '../../types/
|
|
12
|
+
import type * as aux from '../../types/_aux'
|
|
13
13
|
import { DefaultMap, ifind, nonNullable } from '../../utils'
|
|
14
14
|
import type { ElementModel } from '../ElementModel'
|
|
15
15
|
import type { LikeC4Model } from '../LikeC4Model'
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isGroupElementKind,
|
|
17
17
|
RichText,
|
|
18
18
|
} from '../../types'
|
|
19
|
-
import type * as aux from '../../types/
|
|
19
|
+
import type * as aux from '../../types/_aux'
|
|
20
20
|
import { memoizeProp } from '../../utils'
|
|
21
21
|
import type { DeployedInstanceModel, DeploymentElementModel } from '../DeploymentElementModel'
|
|
22
22
|
import type { ElementModel } from '../ElementModel'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { ExclusiveUnion } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import type { PredicateSelector } from './expression'
|
|
5
5
|
import { FqnRef } from './fqnRef'
|
|
6
6
|
import type { WhereOperator } from './operators'
|
package/src/types/expression.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { ExclusiveUnion } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import { FqnRef } from './fqnRef'
|
|
5
5
|
import type { WhereOperator } from './operators'
|
|
6
6
|
import { type Icon } from './scalar'
|
package/src/types/fqnRef.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isString } from 'remeda'
|
|
2
|
+
import type * as aux from './_aux'
|
|
3
|
+
import type { AnyAux, Unknown } from './_aux'
|
|
2
4
|
import type { ExclusiveUnion } from './_common'
|
|
3
|
-
import type * as aux from './aux'
|
|
4
|
-
import type { AnyAux, Unknown } from './aux'
|
|
5
5
|
import { GlobalFqn } from './scalar'
|
|
6
6
|
|
|
7
7
|
export namespace FqnRef {
|
package/src/types/global.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NonEmptyTuple, Tagged } from 'type-fest'
|
|
2
|
+
import type { Any } from './_aux'
|
|
2
3
|
import type { NonEmptyArray } from './_common'
|
|
3
|
-
import type { Any } from './aux'
|
|
4
4
|
import type { DynamicViewIncludeRule } from './view-parsed.dynamic'
|
|
5
5
|
import type { ElementViewPredicate, ElementViewRuleStyle } from './view-parsed.element'
|
|
6
6
|
|
package/src/types/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './_common'
|
|
2
2
|
|
|
3
|
-
export type * as aux from './
|
|
3
|
+
export type * as aux from './_aux'
|
|
4
4
|
|
|
5
5
|
export type {
|
|
6
6
|
Any,
|
|
@@ -11,7 +11,7 @@ export type {
|
|
|
11
11
|
UnknownComputed,
|
|
12
12
|
UnknownLayouted,
|
|
13
13
|
UnknownParsed,
|
|
14
|
-
} from './
|
|
14
|
+
} from './_aux'
|
|
15
15
|
|
|
16
16
|
export * from './const'
|
|
17
17
|
export * from './expression'
|
package/src/types/model-data.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IsAny } from 'type-fest'
|
|
2
|
+
import type * as aux from './_aux'
|
|
3
|
+
import type { Any } from './_aux'
|
|
2
4
|
import type { NonEmptyArray } from './_common'
|
|
3
|
-
import type * as aux from './aux'
|
|
4
|
-
import type { Any } from './aux'
|
|
5
5
|
import type { _stage } from './const'
|
|
6
6
|
import type { ModelGlobals } from './global'
|
|
7
7
|
import type { DeploymentElement, DeploymentRelationship } from './model-deployment'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isTruthy } from 'remeda'
|
|
2
|
+
import type * as aux from './_aux'
|
|
3
|
+
import type { AnyAux, Unknown } from './_aux'
|
|
2
4
|
import type { Link } from './_common'
|
|
3
|
-
import type * as aux from './aux'
|
|
4
|
-
import type { AnyAux, Unknown } from './aux'
|
|
5
5
|
import type { FqnRef } from './fqnRef'
|
|
6
6
|
import type { AbstractRelationship, ElementStyle } from './model-logical'
|
|
7
7
|
import type { Icon } from './scalar'
|
package/src/types/model-dump.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { Link } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import type { FqnRef } from './fqnRef'
|
|
5
5
|
import type * as scalar from './scalar'
|
|
6
6
|
import type {
|
package/src/types/model-spec.ts
CHANGED
package/src/types/operators.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { allPass, anyPass, isNot, isNullish, isString } from 'remeda'
|
|
2
2
|
import { nonexhaustive } from '../utils/invariant'
|
|
3
|
+
import type * as aux from './_aux'
|
|
4
|
+
import type { Any } from './_aux'
|
|
3
5
|
import type { NonEmptyArray } from './_common'
|
|
4
|
-
import type * as aux from './aux'
|
|
5
|
-
import type { Any } from './aux'
|
|
6
6
|
|
|
7
7
|
export type EqualOperator<V> = {
|
|
8
8
|
eq: V
|
package/src/types/view-common.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { NonEmptyArray } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import type { _stage } from './const'
|
|
5
5
|
|
|
6
6
|
import type { BBox, Point, XYPoint } from './geometry'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type * as aux from './
|
|
2
|
-
import type { Any } from './
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { Any } from './_aux'
|
|
3
3
|
import type { _stage, _type } from './const'
|
|
4
4
|
import type { ElementStyle } from './model-logical'
|
|
5
5
|
import type * as scalar from './scalar'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { NonEmptyArray } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import type { _stage, _type } from './const'
|
|
5
5
|
import type { BBox, Point, XYPoint } from './geometry'
|
|
6
6
|
import type {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isArray } from 'remeda'
|
|
2
2
|
import type { MergeExclusive, Simplify } from 'type-fest'
|
|
3
|
+
import type * as aux from './_aux'
|
|
4
|
+
import type { AnyAux } from './_aux'
|
|
3
5
|
import type { ExclusiveUnion } from './_common'
|
|
4
|
-
import type * as aux from './aux'
|
|
5
|
-
import type { AnyAux } from './aux'
|
|
6
6
|
import type { _type } from './const'
|
|
7
7
|
import type { ModelFqnExpr } from './expression-model'
|
|
8
8
|
import { isStepEdgeId } from './scalar'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type * as aux from './_aux'
|
|
2
|
+
import type { AnyAux } from './_aux'
|
|
1
3
|
import type { ExclusiveUnion } from './_common'
|
|
2
|
-
import type * as aux from './aux'
|
|
3
|
-
import type { AnyAux } from './aux'
|
|
4
4
|
import type { _type } from './const'
|
|
5
5
|
import type { ModelExpression, ModelFqnExpr } from './expression-model'
|
|
6
6
|
import type { BorderStyle, Color, ShapeSize, SpacingSize, TextSize } from './styles'
|
package/src/types/view.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isTruthy } from 'remeda'
|
|
2
|
-
import type { Any } from './
|
|
3
|
-
import * as aux from './
|
|
2
|
+
import type { Any } from './_aux'
|
|
3
|
+
import * as aux from './_aux'
|
|
4
4
|
import type { _stage, _type, ExtractOnStage, ModelStage } from './const'
|
|
5
5
|
import type { ViewType } from './view-common'
|
|
6
6
|
import type {
|
|
File without changes
|
|
File without changes
|