mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add logic to set due date from addons, based on #2362
Signed-off-by: martin f. krafft <madduck@madduck.net>
This commit is contained in:
@ -105,4 +105,10 @@ object ItemAction {
|
||||
implicit val jsonDecoder: Decoder[SetDate] = deriveDecoder
|
||||
implicit val jsonEncoder: Encoder[SetDate] = deriveEncoder
|
||||
}
|
||||
|
||||
case class SetDueDate(duedate: Option[Timestamp]) extends ItemAction
|
||||
object SetDueDate {
|
||||
implicit val jsonDecoder: Decoder[SetDueDate] = deriveDecoder
|
||||
implicit val jsonEncoder: Encoder[SetDueDate] = deriveEncoder
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user