1
0
Fork 0
mirror of synced 2024-07-01 12:30:41 +12:00
budibase/packages/backend-core/src/index.js

20 lines
612 B
JavaScript
Raw Normal View History

const { setDB } = require("./db")
2021-04-07 22:33:16 +12:00
module.exports = {
init(pouch) {
setDB(pouch)
},
// some default exports from the library, however these ideally shouldn't
// be used, instead the syntax require("@budibase/backend-core/db") should be used
StaticDatabases: require("./db/utils").StaticDatabases,
db: require("../db"),
redis: require("../redis"),
objectStore: require("../objectStore"),
utils: require("../utils"),
cache: require("../cache"),
auth: require("../auth"),
constants: require("../constants"),
migrations: require("../migrations"),
2022-03-04 02:37:04 +13:00
licensing: require("./licensing"),
}