budibase/packages/builder/src/constants/index.js

21 lines
403 B
JavaScript
Raw Normal View History

2020-11-24 15:04:14 +01:00
export const TableNames = {
USERS: "ta_users",
}
export const FrontendTypes = {
PAGE: "page",
SCREEN: "screen",
LAYOUT: "layout",
NONE: "none",
}
2020-11-24 15:04:14 +01:00
// fields on the user table that cannot be edited
2020-12-07 22:20:35 +01:00
export const UNEDITABLE_USER_FIELDS = ["email", "password", "roleId"]
2020-12-03 18:31:38 +01:00
export const LAYOUT_NAMES = {
MASTER: {
PRIVATE: "layout_private_master",
PUBLIC: "layout_private_master",
},
}