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:
martin f. krafft
2023-11-12 11:00:35 +01:00
parent f6cb97119b
commit 750be99aaf
3 changed files with 13 additions and 0 deletions

View File

@ -21,6 +21,7 @@ object AddonOutputExample extends Helper {
ItemAction.ReplaceTags(Set("tagX", "tagY")),
ItemAction.RemoveTags(Set("tag0", "tag9")),
ItemAction.RemoveTagsCategory(Set("doc-type")),
ItemAction.SetDueDate(Some(Timestamp.ofMillis(1707908400000L))),
ItemAction.SetFolder("folder-name".some),
ItemAction.SetCorrOrg(id("OaIy-org-ID").some),
ItemAction.SetCorrPerson(id("OaIy-person-ID").some),