A mapping between a relationship type and the list of item ids using that relationship.

interface IRelatedItems {
    relatedItemIds: string[];
    relationshipType: string;
}

Properties

relatedItemIds: string[]

Ids of related items

relationshipType: string

The type of relationship between the two items.