2021-04-07 12:33:16 +02:00
|
|
|
exports.UserStatus = {
|
|
|
|
ACTIVE: "active",
|
|
|
|
INACTIVE: "inactive",
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.Cookies = {
|
|
|
|
CurrentApp: "budibase:currentapp",
|
|
|
|
Auth: "budibase:auth",
|
2021-07-15 17:20:31 +02:00
|
|
|
OIDC_CONFIG: "budibase:oidc:config",
|
2021-04-07 12:33:16 +02:00
|
|
|
}
|
2021-04-19 12:34:07 +02:00
|
|
|
|
2021-07-23 16:29:14 +02:00
|
|
|
exports.Headers = {
|
|
|
|
API_KEY: "x-budibase-api-key",
|
|
|
|
API_VER: "x-budibase-api-version",
|
|
|
|
APP_ID: "x-budibase-app-id",
|
|
|
|
TYPE: "x-budibase-type",
|
2021-07-23 17:10:59 +02:00
|
|
|
TENANT_ID: "x-budibase-tenant-id",
|
2021-07-23 16:29:14 +02:00
|
|
|
}
|
|
|
|
|
2021-04-19 12:34:07 +02:00
|
|
|
exports.GlobalRoles = {
|
|
|
|
OWNER: "owner",
|
|
|
|
ADMIN: "admin",
|
|
|
|
BUILDER: "builder",
|
2021-07-13 18:27:04 +02:00
|
|
|
WORKSPACE_MANAGER: "workspace_manager",
|
2021-04-19 12:34:07 +02:00
|
|
|
}
|
2021-05-11 18:49:26 +02:00
|
|
|
|
|
|
|
exports.Configs = {
|
|
|
|
SETTINGS: "settings",
|
|
|
|
ACCOUNT: "account",
|
|
|
|
SMTP: "smtp",
|
|
|
|
GOOGLE: "google",
|
2021-07-07 14:41:09 +02:00
|
|
|
OIDC: "oidc",
|
2021-07-14 16:48:29 +02:00
|
|
|
OIDC_LOGOS: "logos_oidc",
|
2021-05-11 18:49:26 +02:00
|
|
|
}
|
2021-07-16 19:04:49 +02:00
|
|
|
|
|
|
|
exports.DEFAULT_TENANT_ID = "default"
|