With MongoDB/Mongoose there absolutely are types and structures.Most applications grow to the point that they have multiple database clients (it is a virtual inevitability).
Utilities that have to do something. Integration points. Etc.
In an ideal world these can all be completely tunneled through an API, but that is seldom the practice (different needs, different maintenance cycles, etc), whether in a RDBMS or a document model.
Above and beyond that, most applications see technical variations and evolutions of the things that contact it. Today you might be enamored with nodejs, tomorrow it's Go, and the next day it's noderust, etc. Having a technology-coupled surrogate for basic database functionality isn't a sustainable approach.