Safe Haskell | None |
---|---|
Language | Haskell2010 |
OrgStat.Outputs.Types
Description
Types common among reports.
Synopsis
- data TimelineParams = TimelineParams {
- _tpColorSalt :: !Int
- _tpLegend :: !Bool
- _tpTopDay :: !Int
- _tpColumnWidth :: !Double
- _tpColumnHeight :: !Double
- _tpBackground :: !(Colour Double)
- tpColorSalt :: Lens' TimelineParams Int
- tpLegend :: Lens' TimelineParams Bool
- tpTopDay :: Lens' TimelineParams Int
- tpColumnWidth :: Lens' TimelineParams Double
- tpColumnHeight :: Lens' TimelineParams Double
- tpBackground :: Lens' TimelineParams (Colour Double)
- newtype TimelineOutput = TimelineOutput (Diagram B)
- data SummaryParams = SummaryParams {
- spTemplate :: !Text
- newtype SummaryOutput = SummaryOutput Text
- data BlockParams = BlockParams {
- _bpMaxLength :: Int
- _bpUnicode :: Bool
- bpMaxLength :: Lens' BlockParams Int
- bpUnicode :: Lens' BlockParams Bool
- newtype BlockOutput = BlockOutput Text
Documentation
data TimelineParams Source #
Constructors
TimelineParams | |
Fields
|
Instances
Show TimelineParams Source # | |
Defined in OrgStat.Outputs.Types Methods showsPrec :: Int -> TimelineParams -> ShowS # show :: TimelineParams -> String # showList :: [TimelineParams] -> ShowS # | |
Semigroup TimelineParams Source # | |
Defined in OrgStat.Outputs.Types Methods (<>) :: TimelineParams -> TimelineParams -> TimelineParams # sconcat :: NonEmpty TimelineParams -> TimelineParams # stimes :: Integral b => b -> TimelineParams -> TimelineParams # | |
FromJSON TimelineParams # | |
Defined in OrgStat.Config Methods parseJSON :: Value -> Parser TimelineParams # parseJSONList :: Value -> Parser [TimelineParams] # | |
Default TimelineParams Source # | |
Defined in OrgStat.Outputs.Types Methods def :: TimelineParams # |
newtype TimelineOutput Source #
SVG timeline image.
Constructors
TimelineOutput (Diagram B) |
Instances
ReportOutput TimelineOutput Source # | |
Defined in OrgStat.Outputs.Class Methods writeReport :: MonadIO m => FilePath -> TimelineOutput -> m () Source # |
data SummaryParams Source #
Parameters of the summary output
Constructors
SummaryParams | |
Fields
|
Instances
Show SummaryParams Source # | |
Defined in OrgStat.Outputs.Types Methods showsPrec :: Int -> SummaryParams -> ShowS # show :: SummaryParams -> String # showList :: [SummaryParams] -> ShowS # |
newtype SummaryOutput Source #
Some text (supposed to be single line or something).
Constructors
SummaryOutput Text |
Instances
ReportOutput SummaryOutput Source # | |
Defined in OrgStat.Outputs.Class Methods writeReport :: MonadIO m => FilePath -> SummaryOutput -> m () Source # |
data BlockParams Source #
Parameters for block output. Stub (for now).
Constructors
BlockParams | |
Fields
|
Instances
Show BlockParams Source # | |
Defined in OrgStat.Outputs.Types Methods showsPrec :: Int -> BlockParams -> ShowS # show :: BlockParams -> String # showList :: [BlockParams] -> ShowS # | |
Default BlockParams Source # | |
Defined in OrgStat.Outputs.Types Methods def :: BlockParams # |
newtype BlockOutput Source #
Output of block type is text file, basically.
Constructors
BlockOutput Text |
Instances
ReportOutput BlockOutput Source # | |
Defined in OrgStat.Outputs.Class Methods writeReport :: MonadIO m => FilePath -> BlockOutput -> m () Source # |