feat: Add file status tracking to CDokumente entity; implement beforeSave hook for hash calculation and status determination

This commit is contained in:
2026-03-03 08:17:51 +01:00
parent ba986a32fe
commit ec25089ab4
7 changed files with 103 additions and 6 deletions

View File

@@ -19,7 +19,8 @@
"syncStatus": "Sync Status",
"xaiId": "x.AI ID",
"xaiCollections": "x.AI Collections",
"xaiSyncStatus": "Sync Status"
"xaiSyncStatus": "Sync Status",
"fileStatus": "File Status"
},
"links": {
"contactsvmhdokumente": "Portal Users",
@@ -44,7 +45,8 @@
"syncStatus": "Synchronization status: pending_sync = Waiting for sync, clean = successful, unclean = discrepancies, failed = error",
"xaiId": "Unique ID for x.AI synchronization",
"xaiCollections": "List of x.AI collections for this document",
"xaiSyncStatus": "x.AI synchronization status: pending_sync = Waiting for sync, clean = successful, unclean = discrepancies, failed = error"
"xaiSyncStatus": "x.AI synchronization status: pending_sync = Waiting for sync, clean = successful, unclean = discrepancies, failed = error",
"fileStatus": "File status: new = newly uploaded, changed = modified, unchanged = unchanged"
},
"options": {
"syncStatus": {
@@ -58,6 +60,11 @@
"clean": "Synchronized",
"unclean": "Discrepancies",
"failed": "Failed"
},
"fileStatus": {
"new": "New",
"changed": "Changed",
"unchanged": "Unchanged"
}
}
}