Initial commit
This commit is contained in:
71
application/Espo/Resources/metadata/fields/image.json
Normal file
71
application/Espo/Resources/metadata/fields/image.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "required",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "previewSize",
|
||||
"type": "enum",
|
||||
"default": "small",
|
||||
"options": [
|
||||
"x-small",
|
||||
"small",
|
||||
"medium",
|
||||
"large"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "listPreviewSize",
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"small",
|
||||
"medium"
|
||||
],
|
||||
"translation": "Admin.options.previewSize"
|
||||
},
|
||||
{
|
||||
"name": "maxFileSize",
|
||||
"type": "float",
|
||||
"tooltip": true,
|
||||
"min": 0
|
||||
},
|
||||
{
|
||||
"name": "readOnly",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "readOnlyAfterCreate",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "audited",
|
||||
"type": "bool"
|
||||
}
|
||||
],
|
||||
"actualFields": [
|
||||
"id"
|
||||
],
|
||||
"notActualFields": [
|
||||
"name"
|
||||
],
|
||||
"converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\File",
|
||||
"validationList": [
|
||||
"required",
|
||||
"pattern"
|
||||
],
|
||||
"mandatoryValidationList": [
|
||||
"pattern"
|
||||
],
|
||||
"filter": true,
|
||||
"linkDefs": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Attachment",
|
||||
"skipOrmDefs": true,
|
||||
"utility": true
|
||||
},
|
||||
"personalData": true,
|
||||
"duplicatorClassName": "Espo\\Classes\\FieldDuplicators\\File"
|
||||
}
|
||||
Reference in New Issue
Block a user