Basic toggling of fields

This commit is contained in:
shamoon
2024-04-17 23:21:39 -07:00
parent 4ffe5d34f0
commit af94eed042
14 changed files with 346 additions and 171 deletions

View File

@@ -15,6 +15,10 @@ export enum DocumentDisplayField {
DOCUMENT_TYPE = 'documenttype',
STORAGE_PATH = 'storagepath',
CUSTOM_FIELD = 'custom_field_',
NOTES = 'note',
OWNER = 'owner',
SHARED = 'shared',
ASN = 'asn',
}
export const DOCUMENT_DISPLAY_FIELDS = [
@@ -46,6 +50,22 @@ export const DOCUMENT_DISPLAY_FIELDS = [
id: DocumentDisplayField.STORAGE_PATH,
name: $localize`Storage path`,
},
{
id: DocumentDisplayField.NOTES,
name: $localize`Notes`,
},
{
id: DocumentDisplayField.OWNER,
name: $localize`Owner`,
},
{
id: DocumentDisplayField.SHARED,
name: $localize`Shared`,
},
{
id: DocumentDisplayField.ASN,
name: $localize`ASN`,
},
]
export interface SavedView extends ObjectWithPermissions {