| License | AGPL-3 |
|---|---|
| Maintainer | stu235271@mail.uni-kiel.de stu236925@mail.uni-kiel.de |
| Safe Haskell | None |
| Language | Haskell2010 |
Docs.DocumentHistory
Description
This module contains data type definitions representing the history
(meaning chronological overview of revisions) of a Document
Synopsis
Documentation
data DocumentHistory Source #
Chronological overview of a Documents history of revisions.
Constructors
| DocumentHistory | |
Fields
| |
Instances
data DocumentHistoryItem Source #
An item in the Documents history.
This represents a generic revision.
This revision can either be a Tree or a TextElement revision.
Constructors
| Tree TreeRevisionHeader | |
| Text TextElementID TextRevisionHeader |
Instances
| FromJSON DocumentHistoryItem Source # | |
Defined in Docs.DocumentHistory Methods parseJSON :: Value -> Parser DocumentHistoryItem parseJSONList :: Value -> Parser [DocumentHistoryItem] | |
| ToJSON DocumentHistoryItem Source # | |
Defined in Docs.DocumentHistory Methods toJSON :: DocumentHistoryItem -> Value toEncoding :: DocumentHistoryItem -> Encoding toJSONList :: [DocumentHistoryItem] -> Value toEncodingList :: [DocumentHistoryItem] -> Encoding omitField :: DocumentHistoryItem -> Bool | |
| ToSchema DocumentHistoryItem Source # | |
Defined in Docs.DocumentHistory Methods declareNamedSchema :: Proxy DocumentHistoryItem -> Declare (Definitions Schema) NamedSchema | |