There was an error while loading. Please reload this page.
1 parent c2d80d8 commit c4e5e13Copy full SHA for c4e5e13
1 file changed
src/utils/types/types.ts
@@ -15,6 +15,17 @@ export enum ElementStatus {
15
DELETING = 'DELETING',
16
}
17
18
+export enum ReferenceType {
19
+ STUDY_NODE = 'STUDY_NODE',
20
+ NETWORK_MODIFICATION = 'NETWORK_MODIFICATION',
21
+ DIRECTORY_ELEMENT = 'DIRECTORY_ELEMENT',
22
+}
23
+
24
+export type ReferenceAttributes = {
25
+ referenceId: UUID;
26
+ referenceType: ReferenceType;
27
+};
28
29
export type ElementAttributes = {
30
elementUuid: UUID;
31
elementName: string;
@@ -44,6 +55,7 @@ export type ElementAttributes = {
44
55
subtype?: string;
45
56
// only uploading element have this field
46
57
id?: string;
58
+ references?: ReferenceAttributes[];
47
59
};
48
60
49
61
export type Option =
0 commit comments