mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
This is a start to have different kinds of notifications. It is possible to be notified via e-mail, matrix or gotify. It also extends the current "periodic query" for due items by allowing notification over different channels. A "generic periodic query" variant is added as well.
38 lines
548 B
Elm
38 lines
548 B
Elm
{-
|
|
Copyright 2020 Eike K. & Contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
-}
|
|
|
|
|
|
module Messages.Comp.NotificationGotifyForm exposing
|
|
( Texts
|
|
, de
|
|
, gb
|
|
)
|
|
|
|
import Messages.Basics
|
|
|
|
|
|
type alias Texts =
|
|
{ basics : Messages.Basics.Texts
|
|
, gotifyUrl : String
|
|
, appKey : String
|
|
}
|
|
|
|
|
|
gb : Texts
|
|
gb =
|
|
{ basics = Messages.Basics.gb
|
|
, gotifyUrl = "Gotify URL"
|
|
, appKey = "App Key"
|
|
}
|
|
|
|
|
|
de : Texts
|
|
de =
|
|
{ basics = Messages.Basics.de
|
|
, gotifyUrl = "Gotify URL"
|
|
, appKey = "App Key"
|
|
}
|