Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/utils/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ export enum ElementStatus {
DELETING = 'DELETING',
}

export enum ReferenceType {
Comment thread
ghazwarhili marked this conversation as resolved.
STUDY_NODE = 'STUDY_NODE',
NETWORK_MODIFICATION = 'NETWORK_MODIFICATION',
DIRECTORY_ELEMENT = 'DIRECTORY_ELEMENT',
}

export type ReferenceAttributes = {
Comment thread
ghazwarhili marked this conversation as resolved.
referenceId: UUID;
referenceType: ReferenceType;
};

export type ElementAttributes = {
elementUuid: UUID;
elementName: string;
Expand Down Expand Up @@ -44,6 +55,7 @@ export type ElementAttributes = {
subtype?: string;
// only uploading element have this field
id?: string;
references?: ReferenceAttributes[];
Comment thread
ghazwarhili marked this conversation as resolved.
};

export type Option =
Expand Down
Loading