2022-07-21 14:03:33 +02:00
|
|
|
const { api } = require("@budibase/pro")
|
2021-08-05 10:59:08 +02:00
|
|
|
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")
|
2021-09-14 15:18:13 +02:00
|
|
|
const environmentRoutes = require("./system/environment")
|
2021-08-05 10:59:08 +02:00
|
|
|
const tenantsRoutes = require("./system/tenants")
|
2022-02-24 15:41:24 +01:00
|
|
|
const statusRoutes = require("./system/status")
|
2022-02-10 19:34:55 +01:00
|
|
|
const selfRoutes = require("./global/self")
|
2022-03-09 22:16:22 +01:00
|
|
|
const licenseRoutes = require("./global/license")
|
2022-08-04 15:49:56 +02:00
|
|
|
const migrationRoutes = require("./system/migrations")
|
2022-08-25 20:41:47 +02:00
|
|
|
const accountRoutes = require("./system/accounts")
|
2022-07-21 10:52:01 +02:00
|
|
|
|
|
|
|
let userGroupRoutes = api.groups
|
2021-04-23 19:07:39 +02:00
|
|
|
exports.routes = [
|
|
|
|
configRoutes,
|
|
|
|
userRoutes,
|
2021-08-05 10:59:08 +02:00
|
|
|
workspaceRoutes,
|
2021-04-23 19:07:39 +02:00
|
|
|
authRoutes,
|
|
|
|
templateRoutes,
|
2021-08-05 10:59:08 +02:00
|
|
|
tenantsRoutes,
|
2021-04-26 15:16:05 +02:00
|
|
|
emailRoutes,
|
2021-05-14 17:47:47 +02:00
|
|
|
roleRoutes,
|
2021-09-14 15:18:13 +02:00
|
|
|
environmentRoutes,
|
2022-02-24 15:41:24 +01:00
|
|
|
statusRoutes,
|
2022-02-10 19:34:55 +01:00
|
|
|
selfRoutes,
|
2022-03-09 22:16:22 +01:00
|
|
|
licenseRoutes,
|
2022-06-22 14:55:31 +02:00
|
|
|
userGroupRoutes,
|
2022-08-04 15:49:56 +02:00
|
|
|
migrationRoutes,
|
2022-08-25 20:41:47 +02:00
|
|
|
accountRoutes,
|
2021-04-23 19:07:39 +02:00
|
|
|
]
|