/**
* Entities implementing this interface build a hierarchy.
*/
interface HierarchicalInterface<T> {
* parent entities
parents: Promise<T[]> | Identifier[];
* child entities
children: Promise<T[]> | Identifier[];
}