36 lines
696 B
JavaScript
36 lines
696 B
JavaScript
exports.UserStatus = {
|
|
ACTIVE: "active",
|
|
INACTIVE: "inactive",
|
|
}
|
|
|
|
exports.Cookies = {
|
|
CurrentApp: "budibase:currentapp",
|
|
Auth: "budibase:auth",
|
|
OIDC_CONFIG: "budibase:oidc:config",
|
|
}
|
|
|
|
exports.Headers = {
|
|
API_KEY: "x-budibase-api-key",
|
|
API_VER: "x-budibase-api-version",
|
|
APP_ID: "x-budibase-app-id",
|
|
TYPE: "x-budibase-type",
|
|
TENANT_ID: "x-budibase-tenant-id",
|
|
}
|
|
|
|
exports.GlobalRoles = {
|
|
OWNER: "owner",
|
|
ADMIN: "admin",
|
|
BUILDER: "builder",
|
|
WORKSPACE_MANAGER: "workspace_manager",
|
|
}
|
|
|
|
exports.Configs = {
|
|
SETTINGS: "settings",
|
|
ACCOUNT: "account",
|
|
SMTP: "smtp",
|
|
GOOGLE: "google",
|
|
OIDC: "oidc",
|
|
OIDC_LOGOS: "logos_oidc",
|
|
}
|
|
|
|
exports.DEFAULT_TENANT_ID = "default"
|