/** * Entities implementing this interface build a hierarchy. */ interface HierarchicalEntityInterface { /** * parent entities */ parents: Promise; /** * child entities */ children: Promise; }