@likec4/core 1.40.0 → 1.41.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 (61) hide show
  1. package/dist/builder/index.d.mts +75 -14
  2. package/dist/builder/index.mjs +111 -47
  3. package/dist/compute-view/index.d.mts +5 -5
  4. package/dist/compute-view/index.mjs +3 -3
  5. package/dist/compute-view/relationships-view/index.d.mts +5 -5
  6. package/dist/index.d.mts +5 -5
  7. package/dist/index.mjs +4 -4
  8. package/dist/model/connection/deployment/index.d.mts +7 -7
  9. package/dist/model/connection/deployment/index.mjs +1 -1
  10. package/dist/model/connection/index.d.mts +8 -8
  11. package/dist/model/connection/index.mjs +1 -1
  12. package/dist/model/connection/model/index.d.mts +7 -7
  13. package/dist/model/index.d.mts +10 -10
  14. package/dist/model/index.mjs +3 -3
  15. package/dist/shared/{core.DHQ32OHa.mjs → core.Ae86Y3tB.mjs} +2 -3
  16. package/dist/shared/{core.FPITT8Vx.mjs → core.Asc11Mjy.mjs} +28 -9
  17. package/dist/shared/{core.CySf-2gP.d.mts → core.BXsxn-hf.d.mts} +29 -4
  18. package/dist/shared/core.BazD6cot.mjs +14 -0
  19. package/dist/shared/{core.D_fI5Lf6.d.mts → core.BhpgpOep.d.mts} +24 -4
  20. package/dist/shared/{core.DuR3R-xJ.mjs → core.BvMRMo7Z.mjs} +68 -46
  21. package/dist/shared/{core.BbThmf6M.d.mts → core.CUG6vpyL.d.mts} +2 -2
  22. package/dist/shared/{core.yHe79zEl.mjs → core.CXy1NLUG.mjs} +2 -2
  23. package/dist/shared/{core.Bpou6c2f.d.mts → core.D-ZGWDDt.d.mts} +19 -38
  24. package/dist/shared/{core.BIAlzwKc.mjs → core.DA5vzwZ9.mjs} +30 -4
  25. package/dist/shared/{core.T-eLZTW_.mjs → core.DJp8fgok.mjs} +6 -2
  26. package/dist/shared/{core.DrvfVXkh.d.mts → core.DgesAwC8.d.mts} +11 -2
  27. package/dist/shared/{core.vWJTxpLV.d.mts → core.FUPplpae.d.mts} +1 -1
  28. package/dist/shared/{core.DrVOJuxX.d.mts → core.hfOE3RfK.d.mts} +4 -4
  29. package/dist/shared/{core.D704WZES.d.mts → core.xSQO0XYD.d.mts} +2 -2
  30. package/dist/shared/{core.kxeJe0OY.d.mts → core.zxTBF_PD.d.mts} +3 -3
  31. package/dist/types/_aux.d.mts +2 -2
  32. package/dist/types/_aux.mjs +1 -5
  33. package/dist/types/expression-model.d.mts +3 -3
  34. package/dist/types/expression.d.mts +3 -3
  35. package/dist/types/fqnRef.d.mts +2 -2
  36. package/dist/types/index.d.mts +6 -6
  37. package/dist/types/index.mjs +4 -4
  38. package/dist/utils/index.d.mts +2 -2
  39. package/dist/utils/iterable/index.d.mts +1 -1
  40. package/package.json +2 -2
  41. package/src/builder/Builder.ts +119 -43
  42. package/src/builder/_types.ts +12 -8
  43. package/src/compute-view/deployment-view/utils.ts +47 -36
  44. package/src/compute-view/relationships-view/layout.ts +7 -6
  45. package/src/compute-view/utils/buildComputedNodes.ts +23 -10
  46. package/src/compute-view/utils/buildElementNotations.ts +2 -1
  47. package/src/model/DeploymentElementModel.ts +33 -3
  48. package/src/model/ElementModel.ts +25 -2
  49. package/src/model/RelationModel.ts +1 -1
  50. package/src/model/view/EdgeModel.ts +3 -2
  51. package/src/model/view/LikeC4ViewModel.ts +1 -1
  52. package/src/model/view/NodeModel.ts +1 -1
  53. package/src/types/RichText.ts +2 -3
  54. package/src/types/_aux.ts +26 -0
  55. package/src/types/_common.ts +23 -1
  56. package/src/types/index.ts +2 -0
  57. package/src/types/model-deployment.ts +8 -18
  58. package/src/types/model-logical.ts +4 -13
  59. package/src/types/model-spec.ts +3 -0
  60. package/src/types/view-computed.ts +21 -13
  61. package/src/types/view-layouted.ts +0 -4
@@ -1,11 +1,11 @@
1
1
  import { LastArrayElement, Split, Simplify, IsLiteral, Writable, IfNever, IsNever, TupleToUnion, Tagged } from 'type-fest';
2
- import { g as LikeC4Model } from '../shared/core.CySf-2gP.mjs';
2
+ import { g as LikeC4Model } from '../shared/core.BXsxn-hf.mjs';
3
3
  import { D as DeploymentFqn, F as Fqn } from '../shared/core.DX-WYEPA.mjs';
4
- import { l as DeploymentElement, p as DeploymentRelationship, I as Element, T as ModelRelation, aj as AnyViewRuleStyle, ao as AutoLayoutDirection, $ as ParsedView, aP as ParsedDeploymentView, b4 as ParsedElementView, h as ParsedLikeC4ModelData, U as ElementSpecification$1, Y as RelationshipSpecification, V as TagSpecification } from '../shared/core.Bpou6c2f.mjs';
5
- import { c as Participant, E as Expression } from '../shared/core.BbThmf6M.mjs';
4
+ import { l as DeploymentElement, p as DeploymentRelationship, I as Element, T as ModelRelation, aj as AnyViewRuleStyle, ao as AutoLayoutDirection, $ as ParsedView, aP as ParsedDeploymentView, b4 as ParsedElementView, h as ParsedLikeC4ModelData, U as ElementSpecification$1, Y as RelationshipSpecification, V as TagSpecification } from '../shared/core.D-ZGWDDt.mjs';
5
+ import { c as Participant, E as Expression } from '../shared/core.CUG6vpyL.mjs';
6
6
  import { ModelFqnExpr, ModelRelationExpr } from '../types/expression-model.mjs';
7
- import { N as NonEmptyArray, K as KeysOf } from '../shared/core.DrvfVXkh.mjs';
8
- import { y as setProject, a as Aux, S as SpecAux, A as Any } from '../shared/core.D_fI5Lf6.mjs';
7
+ import { N as NonEmptyArray, K as KeysOf } from '../shared/core.DgesAwC8.mjs';
8
+ import { B as setProject, a as Aux, S as SpecAux, A as Any } from '../shared/core.BhpgpOep.mjs';
9
9
  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';
10
10
  import '../shared/core.CywrQs86.mjs';
11
11
  import '../types/fqnRef.mjs';
@@ -557,31 +557,89 @@ interface Builder<T extends AnyTypes> extends BuilderMethods<T> {
557
557
  toLikeC4Model<const Project extends BuilderProjectSpecification>(project: Project): LikeC4Model.Computed<setProject<Types.ToAux<T>, Project['id']>>;
558
558
  toLikeC4Model(): LikeC4Model.Computed<Types.ToAux<T>>;
559
559
  }
560
- declare namespace Builder {
561
- type Any = Builder<AnyTypes>;
562
- function forSpecification<const Spec extends BuilderSpecification>(spec: Spec): {
560
+ declare const Builder: {
561
+ /**
562
+ * Creates a builder with compositional methods
563
+ *
564
+ * @example
565
+ * ```ts
566
+ * const {
567
+ * model: { model, system, component, relTo },
568
+ * deployment: { env, vm},
569
+ * views: { view, $include },
570
+ * builder,
571
+ * } = Builder.forSpecification({
572
+ * elements: {
573
+ * system: {},
574
+ * component: {},
575
+ * },
576
+ * deployments: ['env', 'vm'],
577
+ * })
578
+ *
579
+ * const b = builder
580
+ * .with(
581
+ * model(
582
+ * system('cloud').with(
583
+ * component('backend'),
584
+ * component('backend.api'),
585
+ * component('frontend').with(
586
+ * relTo('cloud.backend.api'),
587
+ * ),
588
+ * ),
589
+ * ),
590
+ * )
591
+ * ```
592
+ */
593
+ forSpecification<const Spec extends BuilderSpecification>(spec: Spec): {
563
594
  builder: Builder<Types.FromSpecification<Spec>>;
564
595
  model: ModelHelpers<Types.FromSpecification<Spec>>;
565
596
  deployment: DeloymentModelHelpers<Types.FromSpecification<Spec>>;
566
597
  views: ViewsHelpers;
567
598
  };
568
- function specification<const Spec extends BuilderSpecification>(spec: Spec): Builder<Types.FromSpecification<Spec>>;
599
+ /**
600
+ * Creates a builder with chainable methods
601
+ *
602
+ * @example
603
+ * ```ts
604
+ * const b = Builder
605
+ * .specification({
606
+ * elements: ['system', 'component'],
607
+ * deployments: ['env', 'vm'],
608
+ * })
609
+ * .model(({ system, component, relTo }, _) =>
610
+ * _(
611
+ * system('cloud').with(
612
+ * component('backend').with(
613
+ * component('api'),
614
+ * ),
615
+ * component('frontend').with(
616
+ * relTo('cloud.backend.api'),
617
+ * )
618
+ * )
619
+ * )
620
+ * )
621
+ * ```
622
+ */
623
+ specification<const Spec extends BuilderSpecification>(spec: Spec): Builder<Types.FromSpecification<Spec>>;
624
+ };
625
+ declare namespace Builder {
626
+ type Any = Builder<AnyTypes>;
569
627
  }
570
628
 
571
629
  type ElementSpecification = Omit<ElementSpecification$1, 'tags'> & {
572
630
  tags?: string[];
573
631
  };
574
632
  type BuilderSpecification = {
575
- elements: {
633
+ elements: string[] | {
576
634
  [kind: string]: Partial<ElementSpecification>;
577
635
  };
578
- relationships?: {
636
+ relationships?: string[] | {
579
637
  [kind: string]: Partial<RelationshipSpecification>;
580
638
  };
581
- deployments?: {
639
+ deployments?: string[] | {
582
640
  [kind: string]: Partial<ElementSpecification>;
583
641
  };
584
- tags?: {
642
+ tags?: string[] | {
585
643
  [kind: string]: Partial<TagSpecification>;
586
644
  };
587
645
  metadataKeys?: string[];
@@ -600,6 +658,7 @@ type Metadata<MetadataKey extends string> = IsNever<MetadataKey> extends true ?
600
658
  } : Record<string, string>;
601
659
  type NewElementProps<Tag, Metadata> = {
602
660
  title?: string;
661
+ summary?: string;
603
662
  description?: string;
604
663
  technology?: string;
605
664
  tags?: IfNever<Tag, never, [Tag, ...Tag[]]>;
@@ -621,6 +680,7 @@ type NewElementProps<Tag, Metadata> = {
621
680
  };
622
681
  type NewDeploymentNodeProps<Tag, Metadata> = {
623
682
  title?: string;
683
+ summary?: string;
624
684
  description?: string;
625
685
  technology?: string;
626
686
  tags?: IfNever<Tag, never, [Tag, ...Tag[]]>;
@@ -676,6 +736,7 @@ interface TypesNested<Parent extends string, ElementKind extends string, Fqn ext
676
736
  }
677
737
  type AnyTypes = Types<any, any, any, any, any, any, any, any>;
678
738
  type AnyTypesNested = TypesNested<any, any, any, any, any, any, any, any, any>;
739
+ type KeysOrTuple<T> = T extends readonly string[] ? TupleToUnion<T> : KeysOf<T>;
679
740
  /**
680
741
  * Auxilary type to keep track of the types in builder
681
742
  */
@@ -695,7 +756,7 @@ interface Types<ElementKind extends string, Fqn extends string, ViewId extends s
695
756
  NewDeploymentNodeProps: NewDeploymentNodeProps<Tag, Metadata<MetadataKey>>;
696
757
  }
697
758
  declare namespace Types {
698
- type FromSpecification<Spec> = Spec extends BuilderSpecification ? Types<KeysOf<Spec['elements']>, never, never, KeysOf<Spec['relationships']>, KeysOf<Spec['tags']>, TupleToUnion<Spec['metadataKeys']>, KeysOf<Spec['deployments']>, never> : never;
759
+ type FromSpecification<Spec> = Spec extends BuilderSpecification ? Types<KeysOrTuple<Spec['elements']>, never, never, KeysOrTuple<Spec['relationships']>, KeysOrTuple<Spec['tags']>, TupleToUnion<Spec['metadataKeys']>, KeysOrTuple<Spec['deployments']>, never> : never;
699
760
  type AddFqn<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, any> ? TypesNested<P, T['ElementKind'], `${P}.${Id}` | T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], T['DeploymentFqn']> : T extends AnyTypes ? Types<T['ElementKind'], Id | T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], T['DeploymentFqn']> : never;
700
761
  type AddDeploymentFqn<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, any> ? TypesNested<P, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], `${P}.${Id}` | T['DeploymentFqn']> : T extends AnyTypes ? Types<T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], Id | T['DeploymentFqn']> : never;
701
762
  type AddView<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, any> ? TypesNested<P, T['ElementKind'], T['Fqn'], Id | T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], T['DeploymentFqn']> : T extends AnyTypes ? Types<T['ElementKind'], T['Fqn'], Id | T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], T['DeploymentFqn']> : never;
@@ -1,13 +1,13 @@
1
1
  import defu from 'defu';
2
- import { isArray, isString, map, entries, mapValues, fromEntries, mapToObj, isNullish, pickBy, isNonNullish, hasAtLeast, isFunction } from 'remeda';
3
- import { c as computeLikeC4Model } from '../shared/core.DuR3R-xJ.mjs';
2
+ import { isArray, isString, map, mapValues, fromEntries, mapToObj, entries, isNullish, fromKeys, pickBy, isNonNullish, hasAtLeast, isFunction } from 'remeda';
3
+ import { c as computeLikeC4Model } from '../shared/core.BvMRMo7Z.mjs';
4
4
  import { n as nameFromFqn, d as isSameHierarchy, p as parentFqn } from '../shared/core.DgttqsJc.mjs';
5
5
  import { ModelFqnExpr } from '../types/expression-model.mjs';
6
- import { a as _type, _ as _stage, c as isDeployedInstance } from '../shared/core.yHe79zEl.mjs';
6
+ import { a as _type, _ as _stage, c as isDeployedInstance } from '../shared/core.CXy1NLUG.mjs';
7
7
  import { i as invariant } from '../shared/core.D4npX2q8.mjs';
8
- import { d as isElementView } from '../shared/core.T-eLZTW_.mjs';
8
+ import { d as isElementView } from '../shared/core.DJp8fgok.mjs';
9
9
  import { FqnRef } from '../types/fqnRef.mjs';
10
- import { D as DefaultThemeColor, a as DefaultElementShape } from '../shared/core.DHQ32OHa.mjs';
10
+ import { D as DefaultThemeColor, a as DefaultElementShape } from '../shared/core.Ae86Y3tB.mjs';
11
11
 
12
12
  function parseWhere(where) {
13
13
  if (isString(where)) {
@@ -320,45 +320,56 @@ function mkViewBuilder(view) {
320
320
  return viewBuilder;
321
321
  }
322
322
 
323
- function validateSpec(specification) {
324
- for (const [kind, spec] of entries(specification.elements)) {
323
+ function ensureObj(value) {
324
+ return isArray(value) ? fromKeys(value, (v) => ({})) : value;
325
+ }
326
+ function validateSpec({ tags, elements, deployments, relationships, ...specification }) {
327
+ const spectags = {};
328
+ if (tags) {
329
+ Object.assign(
330
+ spectags,
331
+ ensureObj(tags)
332
+ );
333
+ }
334
+ const _elements = ensureObj(elements);
335
+ for (const [kind, spec] of entries(_elements)) {
325
336
  if (spec.tags) {
326
337
  for (const tag of spec.tags) {
327
- invariant(specification.tags?.[tag], `Invalid specification for element kind "${kind}": tag "${tag}" not found`);
338
+ invariant(tag in spectags, `Invalid specification for element kind "${kind}": tag "${tag}" not found`);
328
339
  }
329
340
  }
330
341
  }
331
- if (specification.deployments) {
332
- for (const [kind, spec] of entries(specification.deployments)) {
333
- if (spec.tags) {
334
- for (const tag of spec.tags) {
335
- invariant(
336
- specification.tags?.[tag],
337
- `Invalid specification for deployment kind "${kind}": tag "${tag}" not found`
338
- );
339
- }
342
+ const _deployments = ensureObj(deployments ?? {});
343
+ for (const [kind, spec] of entries(_deployments)) {
344
+ if (spec.tags) {
345
+ for (const tag of spec.tags) {
346
+ invariant(
347
+ tag in spectags,
348
+ `Invalid specification for deployment kind "${kind}": tag "${tag}" not found`
349
+ );
340
350
  }
341
351
  }
342
352
  }
353
+ return {
354
+ ...specification,
355
+ tags: spectags,
356
+ elements: _elements,
357
+ deployments: _deployments,
358
+ relationships: ensureObj(relationships ?? {})
359
+ };
343
360
  }
344
- function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _views = /* @__PURE__ */ new Map(), _globals = {
361
+ function builder(_spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _views = /* @__PURE__ */ new Map(), _globals = {
345
362
  predicates: {},
346
363
  dynamicPredicates: {},
347
364
  styles: {}
348
365
  }, _deployments = /* @__PURE__ */ new Map(), _deploymentRelations = []) {
366
+ const spec = validateSpec(_spec);
349
367
  const toLikeC4Specification = () => {
350
- validateSpec(spec);
351
368
  return {
352
- elements: {
353
- ...structuredClone(spec.elements)
354
- },
355
- deployments: {
356
- ...structuredClone(spec.deployments)
357
- },
358
- relationships: {
359
- ...structuredClone(spec.relationships)
360
- },
361
- tags: mapValues(spec.tags ?? {}, (tagSpec) => ({
369
+ elements: structuredClone(spec.elements),
370
+ deployments: structuredClone(spec.deployments),
371
+ relationships: structuredClone(spec.relationships),
372
+ tags: mapValues(spec.tags, (tagSpec) => ({
362
373
  color: DefaultThemeColor,
363
374
  ...tagSpec
364
375
  })),
@@ -605,7 +616,8 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
605
616
  icon: _icon,
606
617
  style,
607
618
  title,
608
- description = null,
619
+ description,
620
+ summary,
609
621
  ...props
610
622
  } = typeof _props === "string" ? { title: _props } : { ..._props };
611
623
  const links = mapLinks(_links);
@@ -616,8 +628,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
616
628
  kind,
617
629
  title: title ?? nameFromFqn(_id),
618
630
  ...description && { description: { txt: description } },
619
- technology: null,
620
- tags: [],
631
+ ...summary && { summary: { txt: summary } },
621
632
  color: specStyle?.color ?? DefaultThemeColor,
622
633
  shape: specStyle?.shape ?? DefaultElementShape,
623
634
  style: pickBy({
@@ -628,7 +639,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
628
639
  textSize: specStyle?.textSize,
629
640
  ...style
630
641
  }, isNonNullish),
631
- links,
642
+ ...links && { links },
632
643
  ...icon && { icon },
633
644
  ...spec2,
634
645
  ...props
@@ -765,7 +776,8 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
765
776
  const {
766
777
  links,
767
778
  title,
768
- description = null,
779
+ description,
780
+ summary,
769
781
  ...props
770
782
  } = typeof _props === "string" ? { title: _props } : { ..._props };
771
783
  const _id = b.__deploymentFqn(id);
@@ -774,6 +786,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
774
786
  id: _id,
775
787
  element: target,
776
788
  ...title && { title },
789
+ ...summary && { summary: { txt: summary } },
777
790
  ...description && { description: { txt: description } },
778
791
  ...links && { links: mapLinks(links) },
779
792
  ...props
@@ -813,7 +826,8 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
813
826
  icon: _icon,
814
827
  style,
815
828
  title,
816
- description = null,
829
+ description,
830
+ summary,
817
831
  ...props
818
832
  } = typeof _props === "string" ? { title: _props } : { ..._props };
819
833
  const icon = _icon ?? specStyle?.icon;
@@ -823,8 +837,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
823
837
  kind,
824
838
  title: title ?? nameFromFqn(_id),
825
839
  ...description && { description: { txt: description } },
826
- technology: null,
827
- tags: null,
840
+ ...summary && { summary: { txt: summary } },
828
841
  style: {
829
842
  ...icon && { icon },
830
843
  color: specStyle?.color ?? DefaultThemeColor,
@@ -886,22 +899,73 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
886
899
  };
887
900
  return self;
888
901
  }
889
- var Builder;
890
- ((Builder2) => {
891
- function forSpecification(spec) {
892
- validateSpec(spec);
902
+ const Builder = {
903
+ /**
904
+ * Creates a builder with compositional methods
905
+ *
906
+ * @example
907
+ * ```ts
908
+ * const {
909
+ * model: { model, system, component, relTo },
910
+ * deployment: { env, vm},
911
+ * views: { view, $include },
912
+ * builder,
913
+ * } = Builder.forSpecification({
914
+ * elements: {
915
+ * system: {},
916
+ * component: {},
917
+ * },
918
+ * deployments: ['env', 'vm'],
919
+ * })
920
+ *
921
+ * const b = builder
922
+ * .with(
923
+ * model(
924
+ * system('cloud').with(
925
+ * component('backend'),
926
+ * component('backend.api'),
927
+ * component('frontend').with(
928
+ * relTo('cloud.backend.api'),
929
+ * ),
930
+ * ),
931
+ * ),
932
+ * )
933
+ * ```
934
+ */
935
+ forSpecification(spec) {
893
936
  const b = builder(spec);
894
937
  return {
895
938
  ...b.helpers(),
896
939
  builder: b
897
940
  };
898
- }
899
- Builder2.forSpecification = forSpecification;
900
- function specification(spec) {
901
- validateSpec(spec);
941
+ },
942
+ /**
943
+ * Creates a builder with chainable methods
944
+ *
945
+ * @example
946
+ * ```ts
947
+ * const b = Builder
948
+ * .specification({
949
+ * elements: ['system', 'component'],
950
+ * deployments: ['env', 'vm'],
951
+ * })
952
+ * .model(({ system, component, relTo }, _) =>
953
+ * _(
954
+ * system('cloud').with(
955
+ * component('backend').with(
956
+ * component('api'),
957
+ * ),
958
+ * component('frontend').with(
959
+ * relTo('cloud.backend.api'),
960
+ * )
961
+ * )
962
+ * )
963
+ * )
964
+ * ```
965
+ */
966
+ specification(spec) {
902
967
  return builder(spec);
903
968
  }
904
- Builder2.specification = specification;
905
- })(Builder || (Builder = {}));
969
+ };
906
970
 
907
971
  export { Builder };
@@ -1,12 +1,12 @@
1
- import { A as Any } from '../shared/core.D_fI5Lf6.mjs';
2
- import { g as LikeC4Model } from '../shared/core.CySf-2gP.mjs';
3
- import { h as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, $ as ParsedView, a2 as ComputedView } from '../shared/core.Bpou6c2f.mjs';
1
+ import { A as Any } from '../shared/core.BhpgpOep.mjs';
2
+ import { g as LikeC4Model } from '../shared/core.BXsxn-hf.mjs';
3
+ import { h as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, $ as ParsedView, a2 as ComputedView } from '../shared/core.D-ZGWDDt.mjs';
4
4
  import 'type-fest';
5
- import '../shared/core.DrvfVXkh.mjs';
5
+ import '../shared/core.DgesAwC8.mjs';
6
6
  import '../shared/core.DX-WYEPA.mjs';
7
7
  import '../shared/core.CywrQs86.mjs';
8
8
  import '../shared/core.CzdwsPmY.mjs';
9
- import '../shared/core.BbThmf6M.mjs';
9
+ import '../shared/core.CUG6vpyL.mjs';
10
10
  import '../types/fqnRef.mjs';
11
11
  import '../types/expression-model.mjs';
12
12
 
@@ -1,7 +1,7 @@
1
- import { G as Graph, w as willCreateCycle, t as topologicalSortExports } from '../shared/core.DuR3R-xJ.mjs';
2
- export { c as computeLikeC4Model, a as computeParsedModelData, b as computeView, u as unsafeComputeView } from '../shared/core.DuR3R-xJ.mjs';
1
+ import { G as Graph, w as willCreateCycle, t as topologicalSortExports } from '../shared/core.BvMRMo7Z.mjs';
2
+ export { c as computeLikeC4Model, a as computeParsedModelData, b as computeView, u as unsafeComputeView } from '../shared/core.BvMRMo7Z.mjs';
3
3
  import { values, unique, mapValues, omit, mapToObj, map } from 'remeda';
4
- import { f as isExtendsElementView, d as isElementView } from '../shared/core.T-eLZTW_.mjs';
4
+ import { f as isExtendsElementView, d as isElementView } from '../shared/core.DJp8fgok.mjs';
5
5
  import { c as isNonEmptyArray } from '../shared/core.DgttqsJc.mjs';
6
6
 
7
7
  function resolveRulesExtendedViews(unresolvedViews) {
@@ -1,12 +1,12 @@
1
- import { A as Any, U as Unknown, j as ElementId, V as ViewId } from '../../shared/core.D_fI5Lf6.mjs';
2
- import { E as ElementModel, R as RelationshipModel, g as LikeC4Model } from '../../shared/core.CySf-2gP.mjs';
1
+ import { A as Any, U as Unknown, k as ElementId, V as ViewId } from '../../shared/core.BhpgpOep.mjs';
2
+ import { E as ElementModel, R as RelationshipModel, g as LikeC4Model } from '../../shared/core.BXsxn-hf.mjs';
3
3
  import 'type-fest';
4
- import '../../shared/core.DrvfVXkh.mjs';
4
+ import '../../shared/core.DgesAwC8.mjs';
5
5
  import '../../shared/core.DX-WYEPA.mjs';
6
6
  import '../../shared/core.CywrQs86.mjs';
7
- import '../../shared/core.Bpou6c2f.mjs';
7
+ import '../../shared/core.D-ZGWDDt.mjs';
8
8
  import '../../types/expression-model.mjs';
9
- import '../../shared/core.BbThmf6M.mjs';
9
+ import '../../shared/core.CUG6vpyL.mjs';
10
10
  import '../../types/fqnRef.mjs';
11
11
  import '../../shared/core.CzdwsPmY.mjs';
12
12
 
package/dist/index.d.mts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { ElementColors, RelationshipColors, computeColorValues, defaultTheme } from './theme/index.mjs';
2
- export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, i as invariant, b as isAncestor, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, h as nonNullable, g as nonexhaustive, p as parentFqn, s as sortNaturalByFqn, j as sortParentsFirst } from './shared/core.vWJTxpLV.mjs';
2
+ export { B as BiMap, D as DefaultWeakMap, L as LinkedList, M as MultiMap, Q as Queue, a as ancestorsFqn, i as invariant, b as isAncestor, c as isDescendantOf, d as isNonEmptyArray, e as isSameHierarchy, f as isString, m as memoizeProp, n as nameFromFqn, h as nonNullable, g as nonexhaustive, p as parentFqn, s as sortNaturalByFqn, j as sortParentsFirst } from './shared/core.FUPplpae.mjs';
3
3
  export { D as DefaultMap } from './shared/core.CywrQs86.mjs';
4
4
  export { i as isIterable } from './shared/core.DXhDWKFZ.mjs';
5
- 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.D_fI5Lf6.mjs';
5
+ 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, f as _stage, g as _type, _ as aux, i as isOnStage, p as preferDescription, e as preferSummary } from './shared/core.BhpgpOep.mjs';
6
6
  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.DX-WYEPA.mjs';
7
- export { O as AbstractRelationship, ai as AnyExcludePredicate, ah as AnyIncludePredicate, a4 as AnyView, aj as AnyViewRuleStyle, ao as AutoLayoutDirection, u as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aw as BaseParsedViewProperties, av as BaseViewProperties, aD as ComputedDeploymentView, aE as ComputedDynamicView, aB as ComputedEdge, aC as ComputedElementView, C as ComputedLikeC4ModelData, aA as ComputedNode, a2 as ComputedView, K as DefaultArrowType, w as DefaultElementShape, J as DefaultLineStyle, z as DefaultPaddingSize, N as DefaultRelationshipColor, y as DefaultShapeSize, x as DefaultSize, E as DefaultTextSize, v as DefaultThemeColor, k as DeployedInstance, l as DeploymentElement, m as DeploymentElementRef, D as DeploymentElementStyle, j as DeploymentNode, q as DeploymentRelation, p as DeploymentRelationship, aL as DeploymentViewExcludePredicate, aK as DeploymentViewIncludePredicate, aM as DeploymentViewPredicate, aO as DeploymentViewRule, aN as DeploymentViewRuleStyle, aG as DiagramEdge, aF as DiagramNode, a0 as DiagramView, aW as DynamicViewDisplayVariant, aU as DynamicViewIncludeRule, aR as DynamicViewParallelSteps, aV as DynamicViewRule, aQ as DynamicViewStep, aT as DynamicViewStepOrParallel, I as Element, U as ElementSpecification, F as ElementStyle, a_ as ElementViewExcludePredicate, aZ as ElementViewIncludePredicate, a$ as ElementViewPredicate, b3 as ElementViewRule, b0 as ElementViewRuleGroup, b2 as ElementViewRuleStyle, e as GlobalDynamicPredicates, G as GlobalPredicateId, d as GlobalPredicates, f as GlobalStyleID, g as GlobalStyles, aI as LayoutedDeploymentView, aJ as LayoutedDynamicView, aH as LayoutedElementView, L as LayoutedLikeC4ModelData, a0 as LayoutedView, i as LikeC4ModelData, s as LikeC4ModelDump, _ as LikeC4Project, $ as LikeC4View, M as ModelGlobals, T as ModelRelation, ax as NodeNotation, aP as ParsedDeploymentView, aX as ParsedDynamicView, b4 as ParsedElementView, h as ParsedLikeC4ModelData, $ as ParsedView, P as Point, a3 as ProcessedView, t as ProjectDump, c as RectBox, Q as Relationship, Y as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, r as SpecTypesFromDump, Z as Specification, S as SpecificationDump, V as TagSpecification, as as ViewAutoLayout, at as ViewManualLayout, a5 as ViewOnStage, a7 as ViewRule, aq as ViewRuleAutoLayout, am as ViewRuleGlobalPredicateRef, ak as ViewRuleGlobalStyle, a8 as ViewRulePredicate, au as ViewType, az as ViewWithHash, ay as ViewWithNotation, a6 as ViewWithType, X as XYPoint, H as ensureSizes, aS as getParallelStepsPrefix, ap as isAutoLayoutDirection, ab as isComputedView, o as isDeployedInstance, n as isDeploymentNode, af as isDeploymentView, a1 as isDiagramView, ag as isDynamicView, aY as isDynamicViewParallelSteps, ac as isElementView, ae as isExtendsElementView, a1 as isLayoutedView, ad as isScopedElementView, W as isTagColorSpecified, ar as isViewRuleAutoLayout, an as isViewRuleGlobalPredicateRef, al as isViewRuleGlobalStyle, b1 as isViewRuleGroup, a9 as isViewRulePredicate, aa as isViewRuleStyle } from './shared/core.Bpou6c2f.mjs';
8
- export { C as Coalesce, E as ExclusiveUnion, I as IterableContainer, c as IteratorLike, K as KeysOf, L as Link, b as NTuple, N as NonEmptyArray, a as NonEmptyReadonlyArray, P as Predicate, R as ReorderedArray } from './shared/core.DrvfVXkh.mjs';
9
- export { A as AndOperator, a as EqualOperator, E as Expression, j as Filterable, F as FqnExpr, K as KindEqual, N as NotOperator, k as OperatorPredicate, O as OrOperator, c as Participant, d as ParticipantOperator, P as PredicateSelector, R as RelationExpr, T as TagEqual, W as WhereOperator, g as isAndOperator, b as isKindEqual, f as isNotOperator, h as isOrOperator, e as isParticipantOperator, i as isTagEqual, w as whereOperatorAsPredicate } from './shared/core.BbThmf6M.mjs';
7
+ export { O as AbstractRelationship, ai as AnyExcludePredicate, ah as AnyIncludePredicate, a4 as AnyView, aj as AnyViewRuleStyle, ao as AutoLayoutDirection, u as AuxFromDump, A as AuxFromLikeC4ModelData, B as BBox, aw as BaseParsedViewProperties, av as BaseViewProperties, aD as ComputedDeploymentView, aE as ComputedDynamicView, aB as ComputedEdge, aC as ComputedElementView, C as ComputedLikeC4ModelData, aA as ComputedNode, a2 as ComputedView, K as DefaultArrowType, w as DefaultElementShape, J as DefaultLineStyle, z as DefaultPaddingSize, N as DefaultRelationshipColor, y as DefaultShapeSize, x as DefaultSize, E as DefaultTextSize, v as DefaultThemeColor, k as DeployedInstance, l as DeploymentElement, m as DeploymentElementRef, D as DeploymentElementStyle, j as DeploymentNode, q as DeploymentRelation, p as DeploymentRelationship, aL as DeploymentViewExcludePredicate, aK as DeploymentViewIncludePredicate, aM as DeploymentViewPredicate, aO as DeploymentViewRule, aN as DeploymentViewRuleStyle, aG as DiagramEdge, aF as DiagramNode, a0 as DiagramView, aW as DynamicViewDisplayVariant, aU as DynamicViewIncludeRule, aR as DynamicViewParallelSteps, aV as DynamicViewRule, aQ as DynamicViewStep, aT as DynamicViewStepOrParallel, I as Element, U as ElementSpecification, F as ElementStyle, a_ as ElementViewExcludePredicate, aZ as ElementViewIncludePredicate, a$ as ElementViewPredicate, b3 as ElementViewRule, b0 as ElementViewRuleGroup, b2 as ElementViewRuleStyle, e as GlobalDynamicPredicates, G as GlobalPredicateId, d as GlobalPredicates, f as GlobalStyleID, g as GlobalStyles, aI as LayoutedDeploymentView, aJ as LayoutedDynamicView, aH as LayoutedElementView, L as LayoutedLikeC4ModelData, a0 as LayoutedView, i as LikeC4ModelData, s as LikeC4ModelDump, _ as LikeC4Project, $ as LikeC4View, M as ModelGlobals, T as ModelRelation, ax as NodeNotation, aP as ParsedDeploymentView, aX as ParsedDynamicView, b4 as ParsedElementView, h as ParsedLikeC4ModelData, $ as ParsedView, P as Point, a3 as ProcessedView, t as ProjectDump, c as RectBox, Q as Relationship, Y as RelationshipSpecification, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty, r as SpecTypesFromDump, Z as Specification, S as SpecificationDump, V as TagSpecification, as as ViewAutoLayout, at as ViewManualLayout, a5 as ViewOnStage, a7 as ViewRule, aq as ViewRuleAutoLayout, am as ViewRuleGlobalPredicateRef, ak as ViewRuleGlobalStyle, a8 as ViewRulePredicate, au as ViewType, az as ViewWithHash, ay as ViewWithNotation, a6 as ViewWithType, X as XYPoint, H as ensureSizes, aS as getParallelStepsPrefix, ap as isAutoLayoutDirection, ab as isComputedView, o as isDeployedInstance, n as isDeploymentNode, af as isDeploymentView, a1 as isDiagramView, ag as isDynamicView, aY as isDynamicViewParallelSteps, ac as isElementView, ae as isExtendsElementView, a1 as isLayoutedView, ad as isScopedElementView, W as isTagColorSpecified, ar as isViewRuleAutoLayout, an as isViewRuleGlobalPredicateRef, al as isViewRuleGlobalStyle, b1 as isViewRuleGroup, a9 as isViewRulePredicate, aa as isViewRuleStyle } from './shared/core.D-ZGWDDt.mjs';
8
+ export { C as Coalesce, E as ExclusiveUnion, I as IterableContainer, c as IteratorLike, K as KeysOf, L as Link, b as NTuple, N as NonEmptyArray, a as NonEmptyReadonlyArray, P as Predicate, R as ReorderedArray, o as omitUndefined } from './shared/core.DgesAwC8.mjs';
9
+ export { A as AndOperator, a as EqualOperator, E as Expression, j as Filterable, F as FqnExpr, K as KindEqual, N as NotOperator, k as OperatorPredicate, O as OrOperator, c as Participant, d as ParticipantOperator, P as PredicateSelector, R as RelationExpr, T as TagEqual, W as WhereOperator, g as isAndOperator, b as isKindEqual, f as isNotOperator, h as isOrOperator, e as isParticipantOperator, i as isTagEqual, w as whereOperatorAsPredicate } from './shared/core.CUG6vpyL.mjs';
10
10
  export { ModelExpression, ModelFqnExpr, ModelRelationExpr } from './types/expression-model.mjs';
11
11
  export { FqnRef } from './types/fqnRef.mjs';
12
12
  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';
package/dist/index.mjs CHANGED
@@ -5,12 +5,12 @@ export { D as DefaultMap } from './shared/core.BuoXfSMj.mjs';
5
5
  export { i as invariant, a as nonNullable, n as nonexhaustive } from './shared/core.D4npX2q8.mjs';
6
6
  export { i as isIterable } from './shared/core.DoM6aM9N.mjs';
7
7
  export { m as memoizeProp } from './shared/core.CUw_2J9j.mjs';
8
- export { _ as aux } from './types/_aux.mjs';
8
+ export { _ as aux, p as preferDescription, a as preferSummary } from './shared/core.BazD6cot.mjs';
9
9
  export { D as DeploymentFqn, E as EdgeId, F as Fqn, a as GlobalFqn, G as GroupElementKind, N as NodeId, P as ProjectId, R as RelationId, S as StepEdgeKind, V as ViewId, g as extractStep, f as flattenMarkdownOrString, b as isGlobalFqn, i as isGroupElementKind, e as isStepEdgeId, s as scalar, c as splitGlobalFqn, d as stepEdgeId } from './shared/core.Be1n9a0i.mjs';
10
- export { h as DefaultArrowType, a as DefaultElementShape, g as DefaultLineStyle, d as DefaultPaddingSize, i as DefaultRelationshipColor, c as DefaultShapeSize, b as DefaultSize, e as DefaultTextSize, D as DefaultThemeColor, R as RichText, f as ensureSizes } from './shared/core.DHQ32OHa.mjs';
11
- export { _ as _stage, a as _type, h as isAndOperator, c as isDeployedInstance, b as isDeploymentNode, e as isKindEqual, g as isNotOperator, i as isOnStage, j as isOrOperator, f as isParticipantOperator, d as isTagEqual, w as whereOperatorAsPredicate } from './shared/core.yHe79zEl.mjs';
10
+ export { h as DefaultArrowType, a as DefaultElementShape, g as DefaultLineStyle, d as DefaultPaddingSize, i as DefaultRelationshipColor, c as DefaultShapeSize, b as DefaultSize, e as DefaultTextSize, D as DefaultThemeColor, R as RichText, f as ensureSizes } from './shared/core.Ae86Y3tB.mjs';
11
+ export { n as getParallelStepsPrefix, l as isAutoLayoutDirection, b as isComputedView, g as isDeploymentView, c as isDiagramView, h as isDynamicView, p as isDynamicViewParallelSteps, d as isElementView, f as isExtendsElementView, c as isLayoutedView, e as isScopedElementView, m as isViewRuleAutoLayout, k as isViewRuleGlobalPredicateRef, j as isViewRuleGlobalStyle, q as isViewRuleGroup, i as isViewRulePredicate, a as isViewRuleStyle, o as omitUndefined } from './shared/core.DJp8fgok.mjs';
12
+ export { _ as _stage, a as _type, h as isAndOperator, c as isDeployedInstance, b as isDeploymentNode, e as isKindEqual, g as isNotOperator, i as isOnStage, j as isOrOperator, f as isParticipantOperator, d as isTagEqual, w as whereOperatorAsPredicate } from './shared/core.CXy1NLUG.mjs';
12
13
  export { Expression, FqnExpr, RelationExpr } from './types/expression.mjs';
13
14
  export { ModelExpression, ModelFqnExpr, ModelRelationExpr } from './types/expression-model.mjs';
14
15
  export { FqnRef } from './types/fqnRef.mjs';
15
16
  export { B as BBox, a as BorderStyles, E as ElementShapes, R as RectBox, T as ThemeColors, i as isTagColorSpecified, b as isThemeColor } from './shared/core.6_Vp2iiN.mjs';
16
- export { n as getParallelStepsPrefix, l as isAutoLayoutDirection, b as isComputedView, g as isDeploymentView, c as isDiagramView, h as isDynamicView, o as isDynamicViewParallelSteps, d as isElementView, f as isExtendsElementView, c as isLayoutedView, e as isScopedElementView, m as isViewRuleAutoLayout, k as isViewRuleGlobalPredicateRef, j as isViewRuleGlobalStyle, p as isViewRuleGroup, i as isViewRulePredicate, a as isViewRuleStyle } from './shared/core.T-eLZTW_.mjs';
@@ -1,13 +1,13 @@
1
- export { C as Connection } from '../../../shared/core.D704WZES.mjs';
2
- export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.DrVOJuxX.mjs';
3
- import '../../../shared/core.CySf-2gP.mjs';
4
- import '../../../shared/core.D_fI5Lf6.mjs';
1
+ export { C as Connection } from '../../../shared/core.xSQO0XYD.mjs';
2
+ export { D as DeploymentConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.hfOE3RfK.mjs';
3
+ import '../../../shared/core.BXsxn-hf.mjs';
4
+ import '../../../shared/core.BhpgpOep.mjs';
5
5
  import 'type-fest';
6
- import '../../../shared/core.DrvfVXkh.mjs';
6
+ import '../../../shared/core.DgesAwC8.mjs';
7
7
  import '../../../shared/core.DX-WYEPA.mjs';
8
8
  import '../../../shared/core.CywrQs86.mjs';
9
- import '../../../shared/core.Bpou6c2f.mjs';
9
+ import '../../../shared/core.D-ZGWDDt.mjs';
10
10
  import '../../../types/expression-model.mjs';
11
- import '../../../shared/core.BbThmf6M.mjs';
11
+ import '../../../shared/core.CUG6vpyL.mjs';
12
12
  import '../../../types/fqnRef.mjs';
13
13
  import '../../../shared/core.CzdwsPmY.mjs';
@@ -1,2 +1,2 @@
1
1
  export { C as Connection } from '../../../shared/core.BVNaR17u.mjs';
2
- export { D as DeploymentConnectionModel, f as findConnection, a as findConnectionsBetween, b as findConnectionsWithin } from '../../../shared/core.BIAlzwKc.mjs';
2
+ export { D as DeploymentConnectionModel, f as findConnection, a as findConnectionsBetween, b as findConnectionsWithin } from '../../../shared/core.DA5vzwZ9.mjs';
@@ -1,15 +1,15 @@
1
- import { C as Connection } from '../../shared/core.D704WZES.mjs';
2
- export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.DrVOJuxX.mjs';
3
- export { C as ConnectionModel, f as model } from '../../shared/core.kxeJe0OY.mjs';
4
- import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.DrvfVXkh.mjs';
5
- import '../../shared/core.CySf-2gP.mjs';
6
- import '../../shared/core.D_fI5Lf6.mjs';
1
+ import { C as Connection } from '../../shared/core.xSQO0XYD.mjs';
2
+ export { D as DeploymentConnectionModel, f as deployment } from '../../shared/core.hfOE3RfK.mjs';
3
+ export { C as ConnectionModel, f as model } from '../../shared/core.zxTBF_PD.mjs';
4
+ import { I as IterableContainer, R as ReorderedArray } from '../../shared/core.DgesAwC8.mjs';
5
+ import '../../shared/core.BXsxn-hf.mjs';
6
+ import '../../shared/core.BhpgpOep.mjs';
7
7
  import 'type-fest';
8
8
  import '../../shared/core.DX-WYEPA.mjs';
9
9
  import '../../shared/core.CywrQs86.mjs';
10
- import '../../shared/core.Bpou6c2f.mjs';
10
+ import '../../shared/core.D-ZGWDDt.mjs';
11
11
  import '../../types/expression-model.mjs';
12
- import '../../shared/core.BbThmf6M.mjs';
12
+ import '../../shared/core.CUG6vpyL.mjs';
13
13
  import '../../types/fqnRef.mjs';
14
14
  import '../../shared/core.CzdwsPmY.mjs';
15
15
 
@@ -1,3 +1,3 @@
1
1
  export { C as Connection } from '../../shared/core.BVNaR17u.mjs';
2
- export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.BIAlzwKc.mjs';
2
+ export { D as DeploymentConnectionModel, d as deployment } from '../../shared/core.DA5vzwZ9.mjs';
3
3
  export { C as ConnectionModel, d as differenceConnections, c as findAscendingConnections, e as findDeepestNestedConnection, g as findDescendantConnections, h as hasSameSource, i as hasSameSourceTarget, j as hasSameTarget, k as isAnyInOut, l as isIncoming, m as isNestedConnection, n as isOutgoing, o as mergeConnections, q as model, s as sortConnectionsByBoundaryHierarchy, p as sortDeepestFirst } from '../../shared/core.D0EgVMQK.mjs';
@@ -1,13 +1,13 @@
1
- export { C as Connection } from '../../../shared/core.D704WZES.mjs';
2
- export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.kxeJe0OY.mjs';
3
- import '../../../shared/core.CySf-2gP.mjs';
4
- import '../../../shared/core.D_fI5Lf6.mjs';
1
+ export { C as Connection } from '../../../shared/core.xSQO0XYD.mjs';
2
+ export { C as ConnectionModel, a as findConnection, b as findConnectionsBetween, c as findConnectionsWithin } from '../../../shared/core.zxTBF_PD.mjs';
3
+ import '../../../shared/core.BXsxn-hf.mjs';
4
+ import '../../../shared/core.BhpgpOep.mjs';
5
5
  import 'type-fest';
6
- import '../../../shared/core.DrvfVXkh.mjs';
6
+ import '../../../shared/core.DgesAwC8.mjs';
7
7
  import '../../../shared/core.DX-WYEPA.mjs';
8
8
  import '../../../shared/core.CywrQs86.mjs';
9
- import '../../../shared/core.Bpou6c2f.mjs';
9
+ import '../../../shared/core.D-ZGWDDt.mjs';
10
10
  import '../../../types/expression-model.mjs';
11
- import '../../../shared/core.BbThmf6M.mjs';
11
+ import '../../../shared/core.CUG6vpyL.mjs';
12
12
  import '../../../types/fqnRef.mjs';
13
13
  import '../../../shared/core.CzdwsPmY.mjs';
@@ -1,18 +1,18 @@
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.CySf-2gP.mjs';
2
- export { f as AnyLikeC4Model, l as DeploymentOrFqn, h as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, g as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, i as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.CySf-2gP.mjs';
3
- import { A as Any } from '../shared/core.D_fI5Lf6.mjs';
4
- export { a as Aux, S as SpecAux, _ as aux } from '../shared/core.D_fI5Lf6.mjs';
5
- export { C as Connection } from '../shared/core.D704WZES.mjs';
6
- export { C as ConnectionModel, f as modelConnection } from '../shared/core.kxeJe0OY.mjs';
7
- export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.DrVOJuxX.mjs';
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.BXsxn-hf.mjs';
2
+ export { f as AnyLikeC4Model, l as DeploymentOrFqn, h as DeploymentRelationEndpoint, m as EdgeOrId, n as ElementOrFqn, I as IncomingFilter, j as LikeC4DeploymentModel, g as LikeC4Model, k as LikeC4ViewsFolder, o as NodeOrId, O as OutgoingFilter, i as RelationshipsAccum, W as WithMetadata, p as WithTags } from '../shared/core.BXsxn-hf.mjs';
3
+ import { A as Any } from '../shared/core.BhpgpOep.mjs';
4
+ export { a as Aux, S as SpecAux, _ as aux } from '../shared/core.BhpgpOep.mjs';
5
+ export { C as Connection } from '../shared/core.xSQO0XYD.mjs';
6
+ export { C as ConnectionModel, f as modelConnection } from '../shared/core.zxTBF_PD.mjs';
7
+ export { D as DeploymentConnectionModel, f as deploymentConnection } from '../shared/core.hfOE3RfK.mjs';
8
8
  export { differenceConnections, findAscendingConnections, findDeepestNestedConnection, findDescendantConnections, hasSameSource, hasSameSourceTarget, hasSameTarget, isAnyInOut, isIncoming, isNestedConnection, isOutgoing, mergeConnections, sortConnectionsByBoundaryHierarchy, sortDeepestFirst } from './connection/index.mjs';
9
- export { u as AuxFromDump, A as AuxFromLikeC4ModelData, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty } from '../shared/core.Bpou6c2f.mjs';
9
+ export { u as AuxFromDump, A as AuxFromLikeC4ModelData, R as RichText, a as RichTextEmpty, b as RichTextOrEmpty } from '../shared/core.D-ZGWDDt.mjs';
10
10
  import '../shared/core.DX-WYEPA.mjs';
11
11
  import 'type-fest';
12
12
  import '../shared/core.CywrQs86.mjs';
13
- import '../shared/core.DrvfVXkh.mjs';
13
+ import '../shared/core.DgesAwC8.mjs';
14
14
  import '../shared/core.CzdwsPmY.mjs';
15
- import '../shared/core.BbThmf6M.mjs';
15
+ import '../shared/core.CUG6vpyL.mjs';
16
16
  import '../types/fqnRef.mjs';
17
17
  import '../types/expression-model.mjs';
18
18