2022-11-16 18:23:12 +01:00
|
|
|
export enum UserStatus {
|
|
|
|
ACTIVE = "active",
|
|
|
|
INACTIVE = "inactive",
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum Cookie {
|
|
|
|
Auth = "budibase:auth",
|
|
|
|
Init = "budibase:init",
|
|
|
|
ACCOUNT_RETURN_URL = "budibase:account:returnurl",
|
|
|
|
DatasourceAuth = "budibase:datasourceauth",
|
|
|
|
OIDC_CONFIG = "budibase:oidc:config",
|
|
|
|
}
|
|
|
|
|
2023-12-12 10:21:10 +01:00
|
|
|
export { Header } from "@budibase/shared-core"
|
2022-11-16 18:23:12 +01:00
|
|
|
|
|
|
|
export enum GlobalRole {
|
|
|
|
OWNER = "owner",
|
|
|
|
ADMIN = "admin",
|
|
|
|
BUILDER = "builder",
|
|
|
|
WORKSPACE_MANAGER = "workspace_manager",
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum Config {
|
|
|
|
SETTINGS = "settings",
|
|
|
|
ACCOUNT = "account",
|
|
|
|
SMTP = "smtp",
|
|
|
|
GOOGLE = "google",
|
|
|
|
OIDC = "oidc",
|
|
|
|
OIDC_LOGOS = "logos_oidc",
|
2023-03-27 18:58:32 +02:00
|
|
|
SCIM = "scim",
|
2022-11-16 18:23:12 +01:00
|
|
|
}
|
|
|
|
|
2023-02-17 17:26:55 +01:00
|
|
|
export const MIN_VALID_DATE = new Date(-2147483647000)
|
2022-11-16 18:23:12 +01:00
|
|
|
export const MAX_VALID_DATE = new Date(2147483647000)
|
|
|
|
export const DEFAULT_TENANT_ID = "default"
|