move document count into matching model

This commit is contained in:
jonaswinkler 2020-12-27 13:07:58 +01:00
parent 802bd7fb0d
commit 4b9a8f3409
4 changed files with 3 additions and 6 deletions

View File

@ -29,4 +29,6 @@ export interface MatchingModel extends ObjectWithId {
is_insensitive?: boolean
document_count?: number
}

View File

@ -1,8 +1,6 @@
import { MatchingModel } from './matching-model';
export interface PaperlessCorrespondent extends MatchingModel {
document_count?: number
last_correspondence?: Date

View File

@ -2,6 +2,4 @@ import { MatchingModel } from './matching-model';
export interface PaperlessDocumentType extends MatchingModel {
document_count?: number
}

View File

@ -23,6 +23,5 @@ export interface PaperlessTag extends MatchingModel {
colour?: number
is_inbox_tag?: boolean
document_count?: number
}