getItemRelations
Function to get a list of items that not already belongs to a container such LinksCollection or Team, so exclude them from the owned by the user
Return
list of items that not already belongs to a container as List of T
Parameters
userList
: the list of the user owned items
currentAttachments
: the current attachments list of the item
T
: the RefyItem type