Enhancement: implement document link custom field (#4799)

This commit is contained in:
shamoon 2023-12-05 08:16:56 -08:00 committed by GitHub
parent 66efaedcbb
commit 4481f12e32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 542 additions and 136 deletions

View file

@ -8,6 +8,7 @@ export enum PaperlessCustomFieldDataType {
Integer = 'integer',
Float = 'float',
Monetary = 'monetary',
DocumentLink = 'documentlink',
}
export const DATA_TYPE_LABELS = [
@ -39,6 +40,10 @@ export const DATA_TYPE_LABELS = [
id: PaperlessCustomFieldDataType.Url,
name: $localize`Url`,
},
{
id: PaperlessCustomFieldDataType.DocumentLink,
name: $localize`Document Link`,
},
]
export interface PaperlessCustomField extends ObjectWithId {