80 lines
2.0 KiB
JSON
80 lines
2.0 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,
|
|
"displayAsLabel": true,
|
|
"labelType": "state",
|
|
"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,
|
|
"view": "views/fields/user"
|
|
}
|
|
},
|
|
"links": {
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"errors": {
|
|
"type": "hasMany",
|
|
"entity": "ImportError",
|
|
"foreign": "import",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc"
|
|
}
|
|
}
|