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
|
|
|
}
|
|
|
|
|
2021-09-23 22:47:22 +02:00
|
|
|
export const IntegrationNames = {
|
|
|
|
POSTGRES: "PostgreSQL",
|
|
|
|
MONGODB: "MongoDB",
|
|
|
|
COUCHDB: "CouchDB",
|
|
|
|
S3: "S3",
|
|
|
|
MYSQL: "MySQL",
|
|
|
|
REST: "REST",
|
|
|
|
DYNAMODB: "DynamoDB",
|
|
|
|
ELASTICSEARCH: "ElasticSearch",
|
|
|
|
SQL_SERVER: "SQL Server",
|
|
|
|
AIRTABLE: "Airtable",
|
|
|
|
ARANGODB: "ArangoDB",
|
2021-11-08 23:08:47 +01:00
|
|
|
ORACLE: "Oracle",
|
2021-11-25 18:12:12 +01:00
|
|
|
GOOGLE_SHEETS: "Google Sheets",
|
2021-09-23 22:47:22 +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
|
|
|
|
2021-11-08 19:59:27 +01:00
|
|
|
export const UNSORTABLE_TYPES = ["formula", "attachment", "array", "link"]
|
2021-11-08 18:25:05 +01:00
|
|
|
|
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
|
|
|
|
2022-01-20 17:01:09 +01:00
|
|
|
// one or more word characters and whitespace
|
2021-08-17 11:41:37 +02:00
|
|
|
export const APP_NAME_REGEX = /^[\w\s]+$/
|
2022-01-20 17:01:09 +01:00
|
|
|
// zero or more non-whitespace characters
|
|
|
|
export const APP_URL_REGEX = /^\S*$/
|