dbCollections.js

function dbCollections(database) {
    // List of collections available
    return {
        TemplateClln:   database.collection('templateClln'),
        UserClln:       database.collection('userClln'),
        RegisterClln:   database.collection('registerClln'),
        CommentClln:    database.collection('commentClln'),
        /**
         * Holds data about state of the system
         * @type {Object}
         */
        PersistClln:    database.collection('persistClln')
    }
}

module.exports = dbCollections;