forked from jonaslagoni/EDAVisualiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
46 lines (44 loc) · 823 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export interface ApplicationNodeData {
id: string;
defaultContentType: string;
description: string;
title: string;
version: string;
license: {
name: string;
url: string;
};
externalDocs: string;
servers: {
name: string;
url: string;
description: string;
protocol: string;
protocolVersion: string;
}[];
}
export interface ApplicationNodeProps {
data: ApplicationNodeData;
}
export interface IncomingNodeData {
id: string;
description: string;
channel: string;
messages: {
title: string;
}[];
}
export interface IncomingNodeProps {
data: IncomingNodeData;
}
export interface OutgoingNodeData {
id: string;
description: string;
channel: string;
messages: {
title: string;
}[];
}
export interface OutgoingNodeProps {
data: OutgoingNodeData;
}