@flowfuse/flowfuse
Version:
An open source low-code development platform
18 lines (16 loc) • 333 B
JavaScript
const modelTypes = [
'SAMLProvider',
'Pipeline',
'PipelineStage',
'FlowTemplate',
'GitToken',
'MCPRegistrations',
'Table'
]
async function init (app) {
modelTypes.forEach(type => {
const m = require(`./${type}`)
app.db.views.register(app, type, m)
})
}
module.exports.init = init