Commits
Art Lowel authored 9f3ee328580
51 51 | |
52 52 | /** |
53 53 | * The selection of virtual metadata for a relationship, mapped by the uuid of either the item or the relationship type |
54 54 | */ |
55 55 | export interface VirtualMetadataSource { |
56 56 | [uuid: string]: boolean; |
57 57 | } |
58 58 | |
59 59 | export interface RelationshipIdentifiable extends Identifiable { |
60 60 | nameVariant?: string; |
61 + | originalItem: Item; |
62 + | originalIsLeft: boolean |
61 63 | relatedItem: Item; |
62 64 | relationship: Relationship; |
63 65 | type: RelationshipType; |
64 66 | } |
65 67 | |
66 68 | /** |
67 69 | * A fieldupdate interface which represents a relationship selected to be deleted, |
68 70 | * along with a selection of the virtual metadata to keep |
69 71 | */ |
70 72 | export interface DeleteRelationship extends RelationshipIdentifiable { |