navi-0.1: A utility program for sending system notifications.
Safe HaskellSafe-Inferred
LanguageGHC2021

Navi.Services.Custom.Single

Description

This module provides a service for a single alert.

Synopsis

Documentation

data SingleToml Source #

Codec for SingleToml.

Instances

Instances details
Show SingleToml Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

Eq SingleToml Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

DecodeTOML SingleToml Source #

Since: 0.1

Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Command, b ~ Command) => LabelOptic "command" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Maybe ErrorNoteToml, b ~ Maybe ErrorNoteToml) => LabelOptic "errEventCfg" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "name" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ NaviNote, b ~ NaviNote) => LabelOptic "note" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Maybe PollInterval, b ~ Maybe PollInterval) => LabelOptic "pollInterval" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Maybe RepeatEventToml, b ~ Maybe RepeatEventToml) => LabelOptic "repeatEventCfg" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "triggerVal" k SingleToml SingleToml a b Source # 
Instance details

Defined in Navi.Services.Custom.Single.Toml

toEvent :: MonadIORef m => SingleToml -> m AnyEvent Source #

Transforms toml configuration data into an AnyEvent.