mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Just include comments on document object
This commit is contained in:
parent
727fb38baf
commit
89c639f850
14 changed files with 147 additions and 85 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue