TreeEntityType
type TreeEntityType = IEntityStaticType & (...args) => ITreeEntity;
Defined in: rxdb-plugin-tree/src/entity/tree-entity.interface.ts:39
树形实体类型
继承了 IEntity 的 id / createdAt 等字段,再加上
parentId 与 hasChildren 这类树形独有属性。
TreeRepository 据此提供 findDescendants / countAncestors 等方法。