@likec4/core 0.53.0 → 0.54.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NonEmptyArray } from './_common';
|
|
2
2
|
import type { Fqn, Tag } from './element';
|
|
3
|
+
import type { Opaque } from './opaque';
|
|
3
4
|
import type { ThemeColor } from './theme';
|
|
4
5
|
export type RelationID = Opaque<string, 'RelationID'>;
|
|
5
6
|
export type RelationshipKind = Opaque<string, 'RelationshipKind'>;
|
|
@@ -13,7 +14,7 @@ export interface Relation {
|
|
|
13
14
|
readonly source: Fqn;
|
|
14
15
|
readonly target: Fqn;
|
|
15
16
|
readonly title: string;
|
|
16
|
-
readonly tags?: Tag
|
|
17
|
+
readonly tags?: NonEmptyArray<Tag>;
|
|
17
18
|
readonly kind?: RelationshipKind;
|
|
18
19
|
readonly color?: ThemeColor;
|
|
19
20
|
readonly line?: RelationshipLineType;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NonEmptyArray } from './_common';
|
|
2
2
|
import type { Fqn, Tag } from './element';
|
|
3
|
+
import type { Opaque } from './opaque';
|
|
3
4
|
import type { ThemeColor } from './theme';
|
|
4
5
|
export type RelationID = Opaque<string, 'RelationID'>;
|
|
5
6
|
export type RelationshipKind = Opaque<string, 'RelationshipKind'>;
|
|
@@ -13,7 +14,7 @@ export interface Relation {
|
|
|
13
14
|
readonly source: Fqn;
|
|
14
15
|
readonly target: Fqn;
|
|
15
16
|
readonly title: string;
|
|
16
|
-
readonly tags?: Tag
|
|
17
|
+
readonly tags?: NonEmptyArray<Tag>;
|
|
17
18
|
readonly kind?: RelationshipKind;
|
|
18
19
|
readonly color?: ThemeColor;
|
|
19
20
|
readonly line?: RelationshipLineType;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NonEmptyArray } from './_common';
|
|
2
2
|
import type { Fqn, Tag } from './element';
|
|
3
|
+
import type { Opaque } from './opaque';
|
|
3
4
|
import type { ThemeColor } from './theme';
|
|
4
5
|
export type RelationID = Opaque<string, 'RelationID'>;
|
|
5
6
|
export type RelationshipKind = Opaque<string, 'RelationshipKind'>;
|
|
@@ -13,7 +14,7 @@ export interface Relation {
|
|
|
13
14
|
readonly source: Fqn;
|
|
14
15
|
readonly target: Fqn;
|
|
15
16
|
readonly title: string;
|
|
16
|
-
readonly tags?: Tag
|
|
17
|
+
readonly tags?: NonEmptyArray<Tag>;
|
|
17
18
|
readonly kind?: RelationshipKind;
|
|
18
19
|
readonly color?: ThemeColor;
|
|
19
20
|
readonly line?: RelationshipLineType;
|