Enhancement: implement document link custom field (#4799)

This commit is contained in:
shamoon authored and GitHub committed 2023-12-05 08:16:56 -08:00
1 parent 66efaedcbb
commit 4481f12e32
16 files changed
+542 -136

No files matched your search

@@ -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 {