@likec4/core 1.48.0 → 1.49.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 (134) hide show
  1. package/dist/THIRD-PARTY-LICENSES.md +1012 -0
  2. package/dist/_chunks/Builder.view-element.mjs +2 -3284
  3. package/dist/_chunks/LikeC4Model.d.mts +21 -25
  4. package/dist/_chunks/RichText.mjs +1 -148
  5. package/dist/_chunks/_types.d.mts +1 -5
  6. package/dist/_chunks/_types2.d.mts +2 -4
  7. package/dist/_chunks/assignTagColors.mjs +1 -24
  8. package/dist/_chunks/calcDriftsFromSnapshot.mjs +1 -379
  9. package/dist/_chunks/guards.d.mts +2026 -0
  10. package/dist/_chunks/guards.mjs +4 -0
  11. package/dist/_chunks/index.d.mts +255 -136
  12. package/dist/_chunks/libs/@mantine/colors-generator.mjs +2 -3403
  13. package/dist/_chunks/libs/@radix-ui/colors.mjs +1 -0
  14. package/dist/_chunks/libs/@ungap/structured-clone.mjs +1 -213
  15. package/dist/_chunks/libs/bail.mjs +1 -14
  16. package/dist/_chunks/libs/ccount.mjs +1 -25
  17. package/dist/_chunks/libs/character-entities-html4.mjs +1 -263
  18. package/dist/_chunks/libs/character-entities-legacy.mjs +1 -117
  19. package/dist/_chunks/libs/character-entities.mjs +2 -2136
  20. package/dist/_chunks/libs/comma-separated-tokens.mjs +1 -18
  21. package/dist/_chunks/libs/decode-named-character-reference.mjs +1 -21
  22. package/dist/_chunks/libs/defu.mjs +1 -42
  23. package/dist/_chunks/libs/devlop.mjs +1 -5
  24. package/dist/_chunks/libs/escape-string-regexp.mjs +1 -8
  25. package/dist/_chunks/libs/extend.mjs +1 -77
  26. package/dist/_chunks/libs/graphology-dag.mjs +1 -703
  27. package/dist/_chunks/libs/graphology.mjs +1 -4565
  28. package/dist/_chunks/libs/hast-util-sanitize.mjs +1 -863
  29. package/dist/_chunks/libs/hast-util-to-html.mjs +9 -2696
  30. package/dist/_chunks/libs/is-plain-obj.mjs +1 -9
  31. package/dist/_chunks/libs/longest-streak.mjs +1 -30
  32. package/dist/_chunks/libs/markdown-table.mjs +2 -290
  33. package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +1 -653
  34. package/dist/_chunks/libs/mdast-util-from-markdown.mjs +3 -8522
  35. package/dist/_chunks/libs/mdast-util-gfm.mjs +15 -2393
  36. package/dist/_chunks/libs/mdast-util-to-hast.mjs +11 -1803
  37. package/dist/_chunks/libs/micromark-extension-gfm.mjs +1 -2243
  38. package/dist/_chunks/libs/mnemonist.d.mts +1 -91
  39. package/dist/_chunks/libs/mnemonist.mjs +1 -1978
  40. package/dist/_chunks/libs/natural-compare-lite.mjs +9 -42
  41. package/dist/_chunks/libs/ohash.mjs +1 -0
  42. package/dist/_chunks/libs/rehype-sanitize.mjs +1 -29
  43. package/dist/_chunks/libs/rehype-stringify.mjs +1 -34
  44. package/dist/_chunks/libs/remark-gfm.mjs +1 -36
  45. package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +3 -100
  46. package/dist/_chunks/libs/remark-parse.mjs +1 -39
  47. package/dist/_chunks/libs/remark-rehype.mjs +1 -171
  48. package/dist/_chunks/libs/remeda.mjs +1 -702
  49. package/dist/_chunks/libs/trough.mjs +1 -158
  50. package/dist/_chunks/libs/unified.mjs +1 -2212
  51. package/dist/_chunks/rolldown-runtime.mjs +1 -42
  52. package/dist/_chunks/{index3.d.mts → theme.d.mts} +15 -13
  53. package/dist/_chunks/{index7.d.mts → to-text.d.mts} +165 -29
  54. package/dist/_chunks/to-text.mjs +1 -0
  55. package/dist/_chunks/vector.d.mts +198 -0
  56. package/dist/_chunks/vector.mjs +1 -0
  57. package/dist/builder/index.d.mts +2 -8
  58. package/dist/builder/index.mjs +1 -662
  59. package/dist/compute-view/index.d.mts +86 -15
  60. package/dist/compute-view/index.mjs +2 -262
  61. package/dist/geometry/index.d.mts +2 -2
  62. package/dist/geometry/index.mjs +1 -3
  63. package/dist/index.d.mts +9 -13
  64. package/dist/index.mjs +1 -27
  65. package/dist/model/index.d.mts +4 -14
  66. package/dist/model/index.mjs +1 -11
  67. package/dist/styles/index.d.mts +2 -8
  68. package/dist/styles/index.mjs +1 -30
  69. package/dist/types/index.d.mts +3 -9
  70. package/dist/types/index.mjs +1 -15
  71. package/dist/utils/graphology/index.d.mts +1 -1
  72. package/dist/utils/graphology/index.mjs +1 -3
  73. package/dist/utils/index.d.mts +4 -11
  74. package/dist/utils/index.mjs +1 -17
  75. package/package.json +13 -12
  76. package/dist/_chunks/LikeC4Styles.mjs +0 -691
  77. package/dist/_chunks/RichText.d.mts +0 -84
  78. package/dist/_chunks/_aux.d.mts +0 -289
  79. package/dist/_chunks/_aux.mjs +0 -18
  80. package/dist/_chunks/connection.mjs +0 -0
  81. package/dist/_chunks/const.d.mts +0 -43
  82. package/dist/_chunks/const.mjs +0 -33
  83. package/dist/_chunks/expression-model.d.mts +0 -192
  84. package/dist/_chunks/expression-model.mjs +0 -103
  85. package/dist/_chunks/expression.d.mts +0 -347
  86. package/dist/_chunks/expression.mjs +0 -107
  87. package/dist/_chunks/find.d.mts +0 -82
  88. package/dist/_chunks/find.mjs +0 -646
  89. package/dist/_chunks/find2.d.mts +0 -78
  90. package/dist/_chunks/find2.mjs +0 -287
  91. package/dist/_chunks/fqnRef.d.mts +0 -58
  92. package/dist/_chunks/fqnRef.mjs +0 -41
  93. package/dist/_chunks/geometry.mjs +0 -335
  94. package/dist/_chunks/index2.d.mts +0 -937
  95. package/dist/_chunks/index4.d.mts +0 -62
  96. package/dist/_chunks/index5.d.mts +0 -42
  97. package/dist/_chunks/index6.d.mts +0 -43
  98. package/dist/_chunks/index8.d.mts +0 -144
  99. package/dist/_chunks/invariant.mjs +0 -18
  100. package/dist/_chunks/iterable.mjs +0 -146
  101. package/dist/_chunks/libs/graphology-types.d.mts +0 -601
  102. package/dist/_chunks/libs/graphology.d.mts +0 -6
  103. package/dist/_chunks/mnemonist.d.mts +0 -1
  104. package/dist/_chunks/mnemonist.mjs +0 -0
  105. package/dist/_chunks/model.mjs +0 -1898
  106. package/dist/_chunks/model2.mjs +0 -0
  107. package/dist/_chunks/relationships-view.mjs +0 -132
  108. package/dist/_chunks/scalar.d.mts +0 -109
  109. package/dist/_chunks/scalar.mjs +0 -84
  110. package/dist/_chunks/utils.mjs +0 -483
  111. package/dist/compute-view/relationships-view/index.d.mts +0 -16
  112. package/dist/compute-view/relationships-view/index.mjs +0 -7
  113. package/dist/model/connection/deployment/index.d.mts +0 -12
  114. package/dist/model/connection/deployment/index.mjs +0 -9
  115. package/dist/model/connection/index.d.mts +0 -14
  116. package/dist/model/connection/index.mjs +0 -10
  117. package/dist/model/connection/model/index.d.mts +0 -12
  118. package/dist/model/connection/model/index.mjs +0 -8
  119. package/dist/types/RichText.d.mts +0 -3
  120. package/dist/types/RichText.mjs +0 -7
  121. package/dist/types/_aux.d.mts +0 -3
  122. package/dist/types/_aux.mjs +0 -3
  123. package/dist/types/expression-model.d.mts +0 -6
  124. package/dist/types/expression-model.mjs +0 -7
  125. package/dist/types/expression.d.mts +0 -5
  126. package/dist/types/expression.mjs +0 -7
  127. package/dist/types/fqnRef.d.mts +0 -4
  128. package/dist/types/fqnRef.mjs +0 -7
  129. package/dist/types/scalar.d.mts +0 -2
  130. package/dist/types/scalar.mjs +0 -7
  131. package/dist/utils/iterable/index.d.mts +0 -9
  132. package/dist/utils/iterable/index.mjs +0 -3
  133. package/dist/utils/mnemonist.d.mts +0 -2
  134. package/dist/utils/mnemonist.mjs +0 -12
File without changes
@@ -1,132 +0,0 @@
1
- import { Q as t } from "./libs/remeda.mjs";
2
- import { A as sortParentsFirst, C as isAncestor, w as isDescendantOf } from "./utils.mjs";
3
- import { n as nonNullable, t as invariant } from "./invariant.mjs";
4
- import { n as import_default_map } from "./libs/mnemonist.mjs";
5
- import { f as ifilter, n as toArray, o as imap, r as toSet } from "./iterable.mjs";
6
-
7
- //#region src/compute-view/relationships-view/utils.ts
8
- function treeFromElements(elements) {
9
- const sorted = sortParentsFirst([...elements]);
10
- const root = new Set(sorted);
11
- const map = new Map(sorted.map((e) => [e._literalId, e]));
12
- const parents = new import_default_map.default(() => null);
13
- const children = sorted.reduce((acc, parent, index, all) => {
14
- acc.set(parent, all.slice(index + 1).filter(isDescendantOf(parent)).map((e) => {
15
- root.delete(e);
16
- return e;
17
- }).reduce((acc, el) => {
18
- if (!acc.some(isAncestor(el))) {
19
- acc.push(el);
20
- parents.set(el, parent);
21
- }
22
- return acc;
23
- }, []));
24
- return acc;
25
- }, new import_default_map.default(() => []));
26
- return {
27
- sorted,
28
- byId: (id) => nonNullable(map.get(id), `Element not found by id: ${id}`),
29
- root,
30
- parent: (el) => parents.get(el),
31
- children: (el) => children.get(el),
32
- flatten: () => {
33
- return new Set([...root, ...sorted.reduce((acc, el) => {
34
- const _children = children.get(el);
35
- if (_children.length === 0) {
36
- acc.push(el);
37
- return acc;
38
- }
39
- if (_children.length > 1) acc.push(..._children);
40
- return acc;
41
- }, [])]);
42
- }
43
- };
44
- }
45
-
46
- //#endregion
47
- //#region src/compute-view/relationships-view/compute.ts
48
- const finalize = (elements, explicits) => {
49
- if (elements.size > 2 && explicits.size !== elements.size) return new Set(sortParentsFirst([...treeFromElements(elements).flatten(), ...explicits]));
50
- if (elements.size > 1) return new Set(sortParentsFirst([...elements]));
51
- return elements;
52
- };
53
- function computeRelationships(subject, others, relationships) {
54
- const isOther = (e) => others.has(e);
55
- let subjects = new Set([subject]);
56
- const explicits = {
57
- incomers: /* @__PURE__ */ new Set(),
58
- subjects: new Set([subject]),
59
- outgoers: /* @__PURE__ */ new Set()
60
- };
61
- let incomers = new Set(relationships.incoming.flatMap((r) => {
62
- explicits.subjects.add(r.target);
63
- explicits.incomers.add(r.source);
64
- subjects.add(r.target);
65
- if (r.target !== subject) {
66
- let target = r.target.parent;
67
- while (target && target !== subject) {
68
- subjects.add(target);
69
- target = target.parent;
70
- }
71
- }
72
- let source = r.source;
73
- const incomerBranch = [];
74
- while (true) {
75
- incomerBranch.push(source);
76
- if (isOther(source) || !source.parent) break;
77
- source = source.parent;
78
- }
79
- return incomerBranch;
80
- }));
81
- let outgoers = new Set(relationships.outgoing.flatMap((r) => {
82
- explicits.subjects.add(r.source);
83
- explicits.outgoers.add(r.target);
84
- subjects.add(r.source);
85
- if (r.source !== subject) {
86
- let source = r.source.parent;
87
- while (source && source !== subject) {
88
- subjects.add(source);
89
- source = source.parent;
90
- }
91
- }
92
- let target = r.target;
93
- const outgoerBranch = [];
94
- while (true) {
95
- outgoerBranch.push(target);
96
- if (isOther(target) || !target.parent) break;
97
- target = target.parent;
98
- }
99
- return outgoerBranch;
100
- }));
101
- return {
102
- incomers: finalize(incomers, explicits.incomers),
103
- incoming: new Set(relationships.incoming),
104
- subjects: finalize(subjects, explicits.subjects),
105
- outgoing: new Set(relationships.outgoing),
106
- outgoers: finalize(outgoers, explicits.outgoers)
107
- };
108
- }
109
- function computeRelationshipsView(subjectId, likec4model, scopeViewId, scope = "global") {
110
- const view = scopeViewId ? likec4model.findView(scopeViewId) : null;
111
- if (scope === "view") {
112
- invariant(view, "Scope view id is required when scope is \"view\"");
113
- return computeScopedRelationshipsView(subjectId, view, likec4model);
114
- }
115
- const subject = likec4model.element(subjectId);
116
- return computeRelationships(subject, toSet(subject.ascendingSiblings()), {
117
- incoming: [...subject.incoming()],
118
- outgoing: [...subject.outgoing()]
119
- });
120
- }
121
- function computeScopedRelationshipsView(subjectId, view, likec4model) {
122
- const subject = likec4model.element(subjectId);
123
- let relationships = {
124
- incoming: toArray(ifilter(subject.incoming(), (r) => view.includesRelation(r.id))),
125
- outgoing: toArray(ifilter(subject.outgoing(), (r) => view.includesRelation(r.id)))
126
- };
127
- const isDescendant = isDescendantOf(subject);
128
- return computeRelationships(subject, new Set([...subject.ascendingSiblings(), ...t(view.elements(), imap((e) => e.element), ifilter((e) => e !== subject && isDescendant(e)))]), relationships);
129
- }
130
-
131
- //#endregion
132
- export { treeFromElements as n, computeRelationshipsView as t };
@@ -1,109 +0,0 @@
1
- import { Tagged } from "type-fest";
2
-
3
- //#region src/types/scalar.d.ts
4
- declare namespace scalar_d_exports {
5
- export { AnyFqn, BuiltInIcon, DeploymentFqn, DeploymentKind, EdgeId, ElementKind, Fqn, GlobalFqn, GroupElementKind, Icon, IconUrl, MarkdownOrString, NodeId, NoneIcon, ProjectId, RelationId, RelationKind, RelationshipKind, StepEdgeId, StepEdgeIdLiteral, StepEdgeKind, Tag, ViewId, extractStep, flattenMarkdownOrString, isGlobalFqn, isGroupElementKind, isStepEdgeId, splitGlobalFqn, stepEdgeId };
6
- }
7
- type ProjectId<T = string> = Tagged<T, 'ProjectID'>;
8
- declare function ProjectId(name: string): ProjectId;
9
- type MarkdownOrString = {
10
- txt: string;
11
- md?: never;
12
- } | {
13
- md: string;
14
- txt?: never;
15
- };
16
- /**
17
- * Converts a MarkdownOrString object or a plain string into a simple string representation.
18
- * This utility function handles different types of text content and normalizes them to a string format.
19
- *
20
- * @param value - The content to be flattened.
21
- * Can be one of:
22
- * - A plain string
23
- * - A MarkdownOrString object with either txt or md property
24
- * - undefined or null
25
- *
26
- * @returns The string content contained within the input value.
27
- * - Returns the input directly if it's already a string
28
- * - Returns the txt property if available in a MarkdownOrString object
29
- * - Falls back to the md property if txt is not available
30
- * - Returns null if:
31
- * - The input is null or undefined
32
- * - The resulting string value is empty, whitespace, or null
33
- *
34
- * @example
35
- * // String input
36
- * flattenMarkdownOrString("Hello world") // Returns: "Hello world"
37
- * flattenMarkdownOrString(" ") // Returns: null
38
- *
39
- * // MarkdownOrString with txt property
40
- * flattenMarkdownOrString({ txt: "Plain text" }) // Returns: "Plain text"
41
- * flattenMarkdownOrString({ txt: " " }) // Returns: null
42
- *
43
- * // MarkdownOrString with md property
44
- * flattenMarkdownOrString({ md: "**Bold markdown**" }) // Returns: "**Bold markdown**"
45
- *
46
- * // Null input
47
- * flattenMarkdownOrString(null) // Returns: null
48
- */
49
- declare function flattenMarkdownOrString(value: MarkdownOrString | string): string;
50
- declare function flattenMarkdownOrString(value: MarkdownOrString | string | undefined | null): string | null;
51
- type BuiltInIcon = 'none' | `${'aws' | 'azure' | 'gcp' | 'tech' | 'bootstrap'}:${string}`;
52
- type Icon = Tagged<string, 'Icon'> | BuiltInIcon;
53
- declare const NoneIcon: Icon;
54
- type IconUrl = Icon;
55
- /**
56
- * Full-qualified-name for model elements
57
- *
58
- * @param This - Fqn of the element (specific element)
59
- * @param All - The type of all known FQNs
60
- *
61
- * @example
62
- * ```ts
63
- * type ElementAFqn = Fqn<'a', 'a' | ' | 'b'>
64
- *
65
- * ```
66
- */
67
- type Fqn<Id = string> = Tagged<Id, 'Fqn'>;
68
- declare function Fqn(name: string, parent?: Fqn | null): Fqn;
69
- type ElementKind<Kinds = string> = Tagged<Kinds, 'ElementKind'>;
70
- declare const GroupElementKind: ElementKind<"@group">;
71
- type GroupElementKind = typeof GroupElementKind;
72
- declare function isGroupElementKind<V extends {
73
- kind?: any;
74
- }>(v: V): v is V & {
75
- kind: GroupElementKind;
76
- };
77
- /**
78
- * Full-qualified-name for deployment elements
79
- */
80
- type DeploymentFqn<T = string> = Tagged<T, 'DeploymentFqn'>;
81
- declare function DeploymentFqn(name: string, parent?: DeploymentFqn | null): DeploymentFqn;
82
- type DeploymentKind<Kinds = string> = Tagged<Kinds, 'DeploymentKind'>;
83
- type ViewId<Id = string> = Tagged<Id, 'ViewId'>;
84
- declare function ViewId(id: string): ViewId;
85
- type AnyFqn<T = string> = DeploymentFqn<T> | Fqn<T>;
86
- /**
87
- * @deprecated Use {@link RelationshipKind} instead
88
- */
89
- type RelationKind<Kinds = string> = RelationshipKind<Kinds>;
90
- type RelationshipKind<Kinds = string> = Tagged<Kinds, 'RelationshipKind'>;
91
- type RelationId<Id = string> = Tagged<Id, 'RelationId'>;
92
- declare function RelationId(id: string): RelationId;
93
- type Tag<T = string> = Tagged<T, 'Tag'>;
94
- type GlobalFqn<Id = string> = Tagged<Fqn<Id>, 'GlobalFqn'>;
95
- declare function GlobalFqn<A>(projectId: A | ProjectId<A>, name: string): GlobalFqn<A>;
96
- declare function isGlobalFqn<A extends string>(fqn: A): fqn is GlobalFqn<A>;
97
- declare function splitGlobalFqn<I extends string>(fqn: Fqn<I> | GlobalFqn<I>): [ProjectId | null, Fqn<I>];
98
- type NodeId = Tagged<string, 'NodeId' | 'Fqn' | 'DeploymentFqn'>;
99
- declare function NodeId(id: string): NodeId;
100
- type EdgeId = Tagged<string, 'EdgeId'>;
101
- declare function EdgeId(id: string): EdgeId;
102
- type StepEdgeIdLiteral = `step-${number}` | `step-${number}.${number}`;
103
- type StepEdgeId = Tagged<StepEdgeIdLiteral, 'EdgeId'>;
104
- declare function stepEdgeId(step: number, parallelStep?: number): StepEdgeId;
105
- declare const StepEdgeKind = "@step";
106
- declare function isStepEdgeId(id: string): id is StepEdgeId;
107
- declare function extractStep(id: EdgeId): number;
108
- //#endregion
109
- export { splitGlobalFqn as A, ViewId as C, isGroupElementKind as D, isGlobalFqn as E, isStepEdgeId as O, Tag as S, flattenMarkdownOrString as T, RelationKind as _, EdgeId as a, StepEdgeIdLiteral as b, GlobalFqn as c, IconUrl as d, MarkdownOrString as f, RelationId as g, ProjectId as h, DeploymentKind as i, stepEdgeId as j, scalar_d_exports as k, GroupElementKind as l, NoneIcon as m, BuiltInIcon as n, ElementKind as o, NodeId as p, DeploymentFqn as r, Fqn as s, AnyFqn as t, Icon as u, RelationshipKind as v, extractStep as w, StepEdgeKind as x, StepEdgeId as y };
@@ -1,84 +0,0 @@
1
- import { n as __exportAll } from "./rolldown-runtime.mjs";
2
- import { D as e$1, O as e } from "./libs/remeda.mjs";
3
- import { t as invariant } from "./invariant.mjs";
4
-
5
- //#region src/types/scalar.ts
6
- var scalar_exports = /* @__PURE__ */ __exportAll({
7
- DeploymentFqn: () => DeploymentFqn,
8
- EdgeId: () => EdgeId,
9
- Fqn: () => Fqn,
10
- GlobalFqn: () => GlobalFqn,
11
- GroupElementKind: () => GroupElementKind,
12
- NodeId: () => NodeId,
13
- NoneIcon: () => NoneIcon,
14
- ProjectId: () => ProjectId,
15
- RelationId: () => RelationId,
16
- StepEdgeKind: () => StepEdgeKind,
17
- ViewId: () => ViewId,
18
- extractStep: () => extractStep,
19
- flattenMarkdownOrString: () => flattenMarkdownOrString,
20
- isGlobalFqn: () => isGlobalFqn,
21
- isGroupElementKind: () => isGroupElementKind,
22
- isStepEdgeId: () => isStepEdgeId,
23
- splitGlobalFqn: () => splitGlobalFqn,
24
- stepEdgeId: () => stepEdgeId
25
- });
26
- function ProjectId(name) {
27
- return name;
28
- }
29
- function flattenMarkdownOrString(value) {
30
- if (value === null || value === void 0) return null;
31
- const content = e(value) ? value : value.txt ?? value.md;
32
- return e$1(content?.trim()) ? content : null;
33
- }
34
- const NoneIcon = "none";
35
- function Fqn(name, parent) {
36
- return parent ? parent + "." + name : name;
37
- }
38
- const GroupElementKind = "@group";
39
- function isGroupElementKind(v) {
40
- return v.kind === GroupElementKind;
41
- }
42
- function DeploymentFqn(name, parent) {
43
- return parent ? parent + "." + name : name;
44
- }
45
- function ViewId(id) {
46
- return id;
47
- }
48
- function RelationId(id) {
49
- return id;
50
- }
51
- function GlobalFqn(projectId, name) {
52
- invariant(typeof projectId === "string" && projectId != "");
53
- return "@" + projectId + "." + name;
54
- }
55
- function isGlobalFqn(fqn) {
56
- return fqn.startsWith("@");
57
- }
58
- function splitGlobalFqn(fqn) {
59
- if (!fqn.startsWith("@")) return [null, fqn];
60
- const firstDot = fqn.indexOf(".");
61
- if (firstDot < 2) throw new Error("Invalid global FQN");
62
- return [fqn.slice(1, firstDot), fqn.slice(firstDot + 1)];
63
- }
64
- function NodeId(id) {
65
- return id;
66
- }
67
- function EdgeId(id) {
68
- return id;
69
- }
70
- function stepEdgeId(step, parallelStep) {
71
- const id = `step-${String(step).padStart(2, "0")}`;
72
- return parallelStep ? `${id}.${parallelStep}` : id;
73
- }
74
- const StepEdgeKind = "@step";
75
- function isStepEdgeId(id) {
76
- return id.startsWith("step-");
77
- }
78
- function extractStep(id) {
79
- if (!isStepEdgeId(id)) throw new Error(`Invalid step edge id: ${id}`);
80
- return parseFloat(id.slice(5));
81
- }
82
-
83
- //#endregion
84
- export { scalar_exports as _, GroupElementKind as a, ProjectId as c, ViewId as d, extractStep as f, isStepEdgeId as g, isGroupElementKind as h, GlobalFqn as i, RelationId as l, isGlobalFqn as m, EdgeId as n, NodeId as o, flattenMarkdownOrString as p, Fqn as r, NoneIcon as s, DeploymentFqn as t, StepEdgeKind as u, splitGlobalFqn as v, stepEdgeId as y };