2021-04-07 22:33:16 +12:00
|
|
|
exports.UserStatus = {
|
|
|
|
ACTIVE: "active",
|
|
|
|
INACTIVE: "inactive",
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.Cookies = {
|
|
|
|
CurrentApp: "budibase:currentapp",
|
|
|
|
Auth: "budibase:auth",
|
2021-07-16 03:20:31 +12:00
|
|
|
OIDC_CONFIG: "budibase:oidc:config",
|
2021-04-07 22:33:16 +12:00
|
|
|
}
|
2021-04-19 22:34:07 +12:00
|
|
|
|
2021-07-24 02:29:14 +12: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-04-19 22:34:07 +12:00
|
|
|
exports.GlobalRoles = {
|
|
|
|
OWNER: "owner",
|
|
|
|
ADMIN: "admin",
|
|
|
|
BUILDER: "builder",
|
2021-08-04 21:02:24 +12:00
|
|
|
GROUP_MANAGER: "group_manager",
|
2021-04-19 22:34:07 +12:00
|
|
|
}
|
2021-05-12 04:49:26 +12:00
|
|
|
|
|
|
|
exports.Configs = {
|
|
|
|
SETTINGS: "settings",
|
|
|
|
ACCOUNT: "account",
|
|
|
|
SMTP: "smtp",
|
|
|
|
GOOGLE: "google",
|
2021-07-08 00:41:09 +12:00
|
|
|
OIDC: "oidc",
|
2021-07-15 02:48:29 +12:00
|
|
|
OIDC_LOGOS: "logos_oidc",
|
2021-05-12 04:49:26 +12:00
|
|
|
}
|