mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-24 16:48:55 +00:00
Just include comments on document object
This commit is contained in:
1 parent
727fb38baf
commit
89c639f850
14 files changed
+147
-85
No files matched your search
@@ -4,6 +4,7 @@ import { PaperlessDocumentType } from './paperless-document-type'
|
||||
import { Observable } from 'rxjs'
|
||||
import { PaperlessStoragePath } from './paperless-storage-path'
|
||||
import { ObjectWithPermissions } from './object-with-permissions'
|
||||
import { PaperlessDocumentComment } from './paperless-document-comment'
|
||||
|
||||
export interface SearchHit {
|
||||
score?: number
|
||||
@@ -54,7 +55,7 @@ export interface PaperlessDocument extends ObjectWithPermissions {
|
||||
|
||||
archive_serial_number?: number
|
||||
|
||||
n_comments?: number
|
||||
comments?: PaperlessDocumentComment[]
|
||||
|
||||
__search_hit__?: SearchHit
|
||||
}
|
||||
Reference in new issue
Block a user