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

40 lines
662 B
JavaScript
Raw Normal View History

exports.UserStatus = {
ACTIVE: "active",
INACTIVE: "inactive",
}
2021-04-19 12:34:07 +02:00
exports.Groups = {
ALL_USERS: "all_users",
}
2021-04-20 19:14:36 +02:00
exports.Configs = {
SETTINGS: "settings",
ACCOUNT: "account",
SMTP: "smtp",
}
2021-04-21 19:43:20 +02:00
2021-04-21 19:15:57 +02:00
exports.TemplateTypes = {
EMAIL: "email",
}
exports.TemplatePurpose = {
PASSWORD_RECOVERY: "password_recovery",
INVITATION: "invitation",
CUSTOM: "custom",
}
exports.TemplatePurposePretty = [
{
name: "Password Recovery",
2021-04-21 19:43:20 +02:00
value: exports.TemplatePurpose.PASSWORD_RECOVERY,
2021-04-21 19:15:57 +02:00
},
{
name: "New User Invitation",
value: exports.TemplatePurpose.INVITATION,
},
{
name: "Custom",
value: exports.TemplatePurpose.CUSTOM,
2021-04-21 19:43:20 +02:00
},
2021-04-21 19:15:57 +02:00
]