| Copyright | Copyright (c) 2020-2025 Travis Cardwell |
|---|---|
| License | MIT |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
QueueSheet.Types
Description
Synopsis
- newtype Name = Name Text
- newtype Url = Url Text
- newtype Date = Date Text
- newtype Section = Section Text
- defaultSection :: Section
- newtype Tag = Tag Text
- data Item = Item {}
- data Queue = Queue {}
- data Import = Import {
- importPath :: !FilePath
- importSection :: !(Maybe Section)
- data ImportOrQueue
- data QueuesFile = QueuesFile {
- qfSections :: ![Section]
- qfImportOrQueues :: ![ImportOrQueue]
- data QueueSheet = QueueSheet {
- qsSections :: ![Section]
- qsQueues :: ![Queue]
Name
Name of a queue or queue item
Since: 0.3.0.0
Url
URL of queue or queue item
Since: 0.3.0.0
Date
Date of last queue update
Since: 0.3.0.0
Section
Section used to organize queues
Since: 0.3.0.0
defaultSection :: Section Source #
The default section is represented as an empty string
Tag
Queue tag
Since: 0.3.0.0
Item
Queue item
Whitespace-separated tags are supported instead of CSV from 0.8.0.0.
Since: 0.5.0.0
Queue
Queue information
Whitespace-separated items and tags are supported instead of CSV from
0.8.0.0.
Since: 0.5.0.0
Constructors
| Queue | |
Import
Import declaration
Since: 0.3.0.0
Constructors
| Import | |
Fields
| |
ImportOrQueue
data ImportOrQueue Source #
Import declaration or queue information
Since: 0.3.0.0
Instances
| FromJSON ImportOrQueue Source # | |
Defined in QueueSheet.Types Methods parseJSON :: Value -> Parser ImportOrQueue # parseJSONList :: Value -> Parser [ImportOrQueue] # | |
| Show ImportOrQueue Source # | |
Defined in QueueSheet.Types Methods showsPrec :: Int -> ImportOrQueue -> ShowS # show :: ImportOrQueue -> String # showList :: [ImportOrQueue] -> ShowS # | |
| Eq ImportOrQueue Source # | |
Defined in QueueSheet.Types Methods (==) :: ImportOrQueue -> ImportOrQueue -> Bool # (/=) :: ImportOrQueue -> ImportOrQueue -> Bool # | |
QueuesFile
data QueuesFile Source #
Queues file
Since: 0.3.0.0
Constructors
| QueuesFile | |
Fields
| |
Instances
| FromJSON QueuesFile Source # | |
Defined in QueueSheet.Types | |
| Show QueuesFile Source # | |
Defined in QueueSheet.Types Methods showsPrec :: Int -> QueuesFile -> ShowS # show :: QueuesFile -> String # showList :: [QueuesFile] -> ShowS # | |
| Eq QueuesFile Source # | |
Defined in QueueSheet.Types | |
QueueSheet
data QueueSheet Source #
Queue sheet
Since: 0.3.0.0
Constructors
| QueueSheet | |
Fields
| |
Instances
| Show QueueSheet Source # | |
Defined in QueueSheet.Types Methods showsPrec :: Int -> QueueSheet -> ShowS # show :: QueueSheet -> String # showList :: [QueueSheet] -> ShowS # | |
| Eq QueueSheet Source # | |
Defined in QueueSheet.Types | |