mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Allow bookmarks in periodic query notification
This commit is contained in:
@ -8037,12 +8037,12 @@ extraSchemas:
|
||||
|
||||
PeriodicQuerySettings:
|
||||
description: |
|
||||
Settings for the periodc-query task.
|
||||
Settings for the periodc-query task. At least one of `query` and
|
||||
`bookmark` is required!
|
||||
required:
|
||||
- id
|
||||
- enabled
|
||||
- channel
|
||||
- query
|
||||
- schedule
|
||||
properties:
|
||||
id:
|
||||
@ -8065,6 +8065,10 @@ extraSchemas:
|
||||
query:
|
||||
type: string
|
||||
format: itemquery
|
||||
bookmark:
|
||||
type: string
|
||||
description: |
|
||||
Name or ID of bookmark to use.
|
||||
|
||||
PeriodicDueItemsSettings:
|
||||
description: |
|
||||
|
@ -21,7 +21,8 @@ final case class PeriodicQuerySettings(
|
||||
summary: Option[String],
|
||||
enabled: Boolean,
|
||||
channel: NotificationChannel,
|
||||
query: ItemQuery,
|
||||
query: Option[ItemQuery],
|
||||
bookmark: Option[String],
|
||||
schedule: CalEvent
|
||||
) {}
|
||||
|
||||
|
Reference in New Issue
Block a user