This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/entityDefs/Import.json
T
Yuri Kuznetsov de3f5de029 fix translation
2023-10-17 13:08:00 +03:00

77 lines
1.8 KiB
JSON

{
"fields": {
"entityType": {
"type": "enum",
"translation": "Global.scopeNames",
"required": true,
"readOnly": true,
"view": "views/fields/entity-type"
},
"status": {
"type": "enum",
"options": ["Standby", "Pending", "In Process", "Complete", "Failed"],
"readOnly": true,
"style": {
"Complete": "success",
"Failed": "danger"
}
},
"file": {
"type": "file",
"required": true,
"readOnly": true
},
"importedCount": {
"type": "int",
"readOnly": true,
"notStorable": true
},
"duplicateCount": {
"type": "int",
"readOnly": true,
"notStorable": true
},
"updatedCount": {
"type": "int",
"readOnly": true,
"notStorable": true
},
"lastIndex": {
"type": "int",
"readOnly": true
},
"params": {
"type": "jsonObject",
"readOnly": true
},
"attributeList": {
"type": "jsonArray",
"readOnly": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true
}
},
"links": {
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"errors": {
"type": "hasMany",
"entity": "ImportError",
"foreign": "import",
"readOnly": true
}
},
"collection": {
"orderBy": "createdAt",
"order": "desc"
}
}