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:
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user