• A mixin which adds directory functionality to a DocumentCollection, such as folders, tree structures, and sorting.

    Parameters

    • BaseCollection: typeof Collection

      The base collection class to extend

    Returns typeof DirectoryCollection