Initial commit
This commit is contained in:
241
application/Espo/Resources/metadata/entityDefs/Preferences.json
Normal file
241
application/Espo/Resources/metadata/entityDefs/Preferences.json
Normal file
@@ -0,0 +1,241 @@
|
||||
{
|
||||
"fields": {
|
||||
"timeZone": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/time-zone"
|
||||
},
|
||||
"dateFormat": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/date-format"
|
||||
},
|
||||
"timeFormat": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/time-format"
|
||||
},
|
||||
"weekStart": {
|
||||
"type": "enumInt",
|
||||
"options": [0, 1, 2, 3, 4, 5, 6],
|
||||
"default": -1,
|
||||
"view": "views/preferences/fields/week-start"
|
||||
},
|
||||
"defaultCurrency": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/default-currency"
|
||||
},
|
||||
"thousandSeparator": {
|
||||
"type": "varchar",
|
||||
"default": ",",
|
||||
"maxLength": 1,
|
||||
"view": "views/settings/fields/thousand-separator",
|
||||
"options": [
|
||||
".",
|
||||
",",
|
||||
"'"
|
||||
],
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Classes\\FieldValidators\\Settings\\ThousandSeparator\\Valid"
|
||||
]
|
||||
},
|
||||
"decimalMark": {
|
||||
"type": "varchar",
|
||||
"default": ".",
|
||||
"required": true,
|
||||
"maxLength": 1,
|
||||
"options": [
|
||||
".",
|
||||
","
|
||||
]
|
||||
},
|
||||
"dashboardLayout": {
|
||||
"type": "jsonArray",
|
||||
"view": "views/settings/fields/dashboard-layout"
|
||||
},
|
||||
"dashletsOptions": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"dashboardLocked": {
|
||||
"type": "bool"
|
||||
},
|
||||
"importParams": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"sharedCalendarUserList": {
|
||||
"type": "jsonArray"
|
||||
},
|
||||
"calendarViewDataList": {
|
||||
"type": "jsonArray"
|
||||
},
|
||||
"presetFilters": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"language": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/language"
|
||||
},
|
||||
"exportDelimiter": {
|
||||
"type": "varchar",
|
||||
"default": ",",
|
||||
"required": true,
|
||||
"maxLength": 1,
|
||||
"options": [
|
||||
",",
|
||||
";",
|
||||
"\\t",
|
||||
"|"
|
||||
]
|
||||
},
|
||||
"receiveAssignmentEmailNotifications": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"receiveMentionEmailNotifications": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"receiveStreamEmailNotifications": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"assignmentNotificationsIgnoreEntityTypeList": {
|
||||
"type": "checklist",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"view": "views/preferences/fields/assignment-notifications-ignore-entity-type-list",
|
||||
"default": []
|
||||
},
|
||||
"assignmentEmailNotificationsIgnoreEntityTypeList": {
|
||||
"type": "checklist",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"view": "views/preferences/fields/assignment-email-notifications-ignore-entity-type-list"
|
||||
},
|
||||
"reactionNotifications": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"autoFollowEntityTypeList": {
|
||||
"type": "multiEnum",
|
||||
"view": "views/preferences/fields/auto-follow-entity-type-list",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"notStorable": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"signature": {
|
||||
"type": "wysiwyg",
|
||||
"view": "views/preferences/fields/signature"
|
||||
},
|
||||
"defaultReminders": {
|
||||
"type": "jsonArray",
|
||||
"view": "crm:views/meeting/fields/reminders",
|
||||
"default": [],
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\Valid",
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\MaxCount"
|
||||
]
|
||||
},
|
||||
"defaultRemindersTask": {
|
||||
"type": "jsonArray",
|
||||
"view": "crm:views/meeting/fields/reminders",
|
||||
"default": [],
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\Valid",
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\MaxCount"
|
||||
]
|
||||
},
|
||||
"theme": {
|
||||
"type": "enum",
|
||||
"view": "views/preferences/fields/theme",
|
||||
"translation": "Global.themes"
|
||||
},
|
||||
"themeParams": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"pageContentWidth": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"Wide"
|
||||
]
|
||||
},
|
||||
"useCustomTabList": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"addCustomTabs": {
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"tooltip": true
|
||||
},
|
||||
"tabList": {
|
||||
"type": "array",
|
||||
"view": "views/preferences/fields/tab-list",
|
||||
"validationList": [
|
||||
"array",
|
||||
"required"
|
||||
],
|
||||
"mandatoryValidationList": [
|
||||
"array"
|
||||
]
|
||||
},
|
||||
"emailReplyToAllByDefault": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"emailReplyForceHtml": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"isPortalUser": {
|
||||
"type": "bool",
|
||||
"notStorable": true
|
||||
},
|
||||
"doNotFillAssignedUserIfNotRequired": {
|
||||
"type": "bool",
|
||||
"tooltip": true,
|
||||
"default": true
|
||||
},
|
||||
"followEntityOnStreamPost": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"followCreatedEntities": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
"followCreatedEntityTypeList": {
|
||||
"type": "multiEnum",
|
||||
"view": "views/preferences/fields/auto-follow-entity-type-list",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"default": [],
|
||||
"tooltip": true
|
||||
},
|
||||
"emailUseExternalClient": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"scopeColorsDisabled": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"tabColorsDisabled": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"textSearchStoringDisabled": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"calendarSlotDuration": {
|
||||
"type": "enumInt",
|
||||
"options": ["", 15, 30],
|
||||
"default": null,
|
||||
"view": "views/preferences/fields/calendar-slot-duration"
|
||||
},
|
||||
"calendarScrollHour": {
|
||||
"type": "enumInt",
|
||||
"options": ["", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15],
|
||||
"default": null,
|
||||
"view": "views/preferences/fields/calendar-scroll-hour"
|
||||
}
|
||||
},
|
||||
"noDeletedAttribute": true,
|
||||
"modifierClassName": "Espo\\Core\\Utils\\Database\\Schema\\EntityDefsModifiers\\JsonData"
|
||||
}
|
||||
Reference in New Issue
Block a user