mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add more properties to upload meta data
This commit is contained in:
@ -38,7 +38,9 @@ object ProcessItemArgs {
|
||||
sourceAbbrev: String,
|
||||
folderId: Option[Ident],
|
||||
validFileTypes: Seq[MimeType],
|
||||
skipDuplicate: Boolean
|
||||
skipDuplicate: Boolean,
|
||||
fileFilter: Option[Glob],
|
||||
tags: Option[List[String]]
|
||||
)
|
||||
|
||||
object ProcessMeta {
|
||||
|
@ -29,7 +29,11 @@ case class ScanMailboxArgs(
|
||||
// set the direction when submitting
|
||||
direction: Option[Direction],
|
||||
// set a folder for items
|
||||
itemFolder: Option[Ident]
|
||||
itemFolder: Option[Ident],
|
||||
// set a filter for files when importing archives
|
||||
fileFilter: Option[Glob],
|
||||
// set a list of tags to apply to new item
|
||||
tags: Option[List[String]]
|
||||
)
|
||||
|
||||
object ScanMailboxArgs {
|
||||
|
Reference in New Issue
Block a user