authedrequest.contentTypes.query() is not a function Methods are extended onto the schema in this directory: https://github.com/Solid-Interactive/grasshopper-core-nodejs/tree/master/lib/db/mongodb The query method exists on nodes, and it can be seen here: https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/nodes.js#L243 A similar method should be created for content types here: https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/contentTypes.js
authedrequest.contentTypes.query() is not a function
Methods are extended onto the schema in this directory:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/tree/master/lib/db/mongodb
The query method exists on nodes, and it can be seen here:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/nodes.js#L243
A similar method should be created for content types here:
https://github.com/Solid-Interactive/grasshopper-core-nodejs/blob/master/lib/db/mongodb/contentTypes.js