mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-07-11 14:35:09 +00:00
Feature: document file versions (#12061)
This commit is contained in:
@@ -161,6 +161,18 @@ export interface Document extends ObjectWithPermissions {
|
||||
|
||||
duplicate_documents?: Document[]
|
||||
|
||||
// Versioning
|
||||
root_document?: number
|
||||
versions?: DocumentVersionInfo[]
|
||||
|
||||
// Frontend only
|
||||
__changedFields?: string[]
|
||||
}
|
||||
|
||||
export interface DocumentVersionInfo {
|
||||
id: number
|
||||
added?: Date
|
||||
version_label?: string
|
||||
checksum?: string
|
||||
is_root: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user