budibase/packages/worker/src/api/routes/index.js

35 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-07-21 14:03:33 +02:00
const { api } = require("@budibase/pro")
const userRoutes = require("./global/users")
const configRoutes = require("./global/configs")
const workspaceRoutes = require("./global/workspaces")
const templateRoutes = require("./global/templates")
const emailRoutes = require("./global/email")
const authRoutes = require("./global/auth")
const roleRoutes = require("./global/roles")
const environmentRoutes = require("./system/environment")
const tenantsRoutes = require("./system/tenants")
const statusRoutes = require("./system/status")
const selfRoutes = require("./global/self")
2022-03-09 22:16:22 +01:00
const licenseRoutes = require("./global/license")
const migrationRoutes = require("./system/migrations")
const accountRoutes = require("./system/accounts")
let userGroupRoutes = api.groups
exports.routes = [
configRoutes,
userRoutes,
workspaceRoutes,
authRoutes,
templateRoutes,
tenantsRoutes,
2021-04-26 15:16:05 +02:00
emailRoutes,
2021-05-14 17:47:47 +02:00
roleRoutes,
environmentRoutes,
statusRoutes,
selfRoutes,
2022-03-09 22:16:22 +01:00
licenseRoutes,
2022-06-22 14:55:31 +02:00
userGroupRoutes,
migrationRoutes,
accountRoutes,
]