2020-11-24 15:04:14 +01:00
|
|
|
export const TableNames = {
|
|
|
|
USERS: "ta_users",
|
|
|
|
}
|
|
|
|
|
2020-12-01 17:22:06 +01:00
|
|
|
export const FrontendTypes = {
|
|
|
|
PAGE: "page",
|
|
|
|
SCREEN: "screen",
|
|
|
|
LAYOUT: "layout",
|
|
|
|
NONE: "none",
|
|
|
|
}
|
|
|
|
|
2021-05-13 13:39:35 +02:00
|
|
|
export const AppStatus = {
|
2021-05-21 11:32:16 +02:00
|
|
|
ALL: "all",
|
|
|
|
DEV: "development",
|
|
|
|
DEPLOYED: "published",
|
2021-05-13 13:39:35 +02:00
|
|
|
}
|
|
|
|
|
2020-11-24 15:04:14 +01:00
|
|
|
// fields on the user table that cannot be edited
|
2021-05-19 19:46:15 +02:00
|
|
|
export const UNEDITABLE_USER_FIELDS = [
|
|
|
|
"email",
|
|
|
|
"password",
|
|
|
|
"roleId",
|
|
|
|
"status",
|
|
|
|
"firstName",
|
|
|
|
"lastName",
|
|
|
|
]
|
2020-12-03 18:31:38 +01:00
|
|
|
|
|
|
|
export const LAYOUT_NAMES = {
|
|
|
|
MASTER: {
|
|
|
|
PRIVATE: "layout_private_master",
|
|
|
|
PUBLIC: "layout_private_master",
|
|
|
|
},
|
|
|
|
}
|
2021-06-15 20:48:05 +02:00
|
|
|
|
|
|
|
export const BUDIBASE_INTERNAL_DB = "bb_internal"
|
2021-08-17 11:41:37 +02:00
|
|
|
|
|
|
|
export const APP_NAME_REGEX = /^[\w\s]+$/
|