mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-18 22:14:22 -06:00
Drop DuplicateDocument
This commit is contained in:
@@ -112,11 +112,6 @@ export interface SearchHit {
|
||||
note_highlights?: string
|
||||
}
|
||||
|
||||
export interface DuplicateDocument {
|
||||
id: number
|
||||
title: string
|
||||
}
|
||||
|
||||
export interface Document extends ObjectWithPermissions {
|
||||
correspondent?: number
|
||||
|
||||
@@ -164,7 +159,7 @@ export interface Document extends ObjectWithPermissions {
|
||||
|
||||
page_count?: number
|
||||
|
||||
duplicate_documents?: DuplicateDocument[]
|
||||
duplicate_documents?: Document[]
|
||||
|
||||
// Frontend only
|
||||
__changedFields?: string[]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DuplicateDocument } from './document'
|
||||
import { Document } from './document'
|
||||
import { ObjectWithId } from './object-with-id'
|
||||
|
||||
export enum PaperlessTaskType {
|
||||
@@ -43,7 +43,7 @@ export interface PaperlessTask extends ObjectWithId {
|
||||
|
||||
related_document?: number
|
||||
|
||||
duplicate_documents?: DuplicateDocument[]
|
||||
duplicate_documents?: Document[]
|
||||
|
||||
owner?: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user