feat: Add file status tracking to CDokumente entity; implement beforeSave hook for hash calculation and status determination
This commit is contained in:
@@ -138,6 +138,24 @@
|
||||
"default": "pending_sync",
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
},
|
||||
"fileStatus": {
|
||||
"type": "enum",
|
||||
"required": false,
|
||||
"options": [
|
||||
"new",
|
||||
"changed",
|
||||
"unchanged"
|
||||
],
|
||||
"style": {
|
||||
"new": "info",
|
||||
"changed": "warning",
|
||||
"unchanged": "success"
|
||||
},
|
||||
"default": "new",
|
||||
"readOnly": true,
|
||||
"tooltip": true,
|
||||
"isCustom": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
|
||||
Reference in New Issue
Block a user