Merged in feature/track-filesize (pull request #200)

track file sizes for all documents in system

* feature complete

needs dev testing
This commit is contained in:
Jay Brown
2026-01-12 17:46:07 +00:00
parent 4ad8168f35
commit ebf47c6013
37 changed files with 1514 additions and 374 deletions
+6
View File
@@ -582,6 +582,9 @@ type DocumentEnriched struct {
// Fields The fields and the value for the document
Fields map[string]interface{} `json:"fields"`
// FileSizeBytes File size in bytes (null for legacy documents)
FileSizeBytes *int64 `json:"fileSizeBytes,omitempty"`
// Filename Original filename of the document
Filename *string `json:"filename,omitempty"`
@@ -612,6 +615,9 @@ type DocumentID = openapi_types.UUID
// DocumentInFolder Document within a folder with enriched metadata (lighter format, excludes client_id and fields)
type DocumentInFolder struct {
// FileSizeBytes File size in bytes (null for legacy documents)
FileSizeBytes *int64 `json:"fileSizeBytes,omitempty"`
// Filename Original filename of the document
Filename *string `json:"filename,omitempty"`