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

35 lines
576 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-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",
value: exports.TemplatePurpose.PASSWORD_RECOVERY
},
{
name: "New User Invitation",
value: exports.TemplatePurpose.INVITATION,
},
{
name: "Custom",
value: exports.TemplatePurpose.CUSTOM,
}
]