Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains datatypes generated from the DSL description of the api-tools API; they thus correspond to the types in Data.API.Types.
Documentation
newtype RegularExpression Source #
Instances
Instances
Eq IntRange Source # | |
Show IntRange Source # | |
Arbitrary IntRange Source # | |
ToJSON IntRange Source # | |
Defined in Data.API.API.Gen | |
FromJSON IntRange Source # | |
NFData IntRange Source # | |
Defined in Data.API.API.Gen | |
SafeCopy IntRange Source # | |
Serialise IntRange Source # | |
Example IntRange Source # | |
FromJSONWithErrs IntRange Source # | |
Defined in Data.API.API.Gen |
Instances
Eq UTCRange Source # | |
Show UTCRange Source # | |
Arbitrary UTCRange Source # | |
ToJSON UTCRange Source # | |
Defined in Data.API.API.Gen | |
FromJSON UTCRange Source # | |
NFData UTCRange Source # | |
Defined in Data.API.API.Gen | |
SafeCopy UTCRange Source # | |
Serialise UTCRange Source # | |
Example UTCRange Source # | |
FromJSONWithErrs UTCRange Source # | |
Defined in Data.API.API.Gen |
Instances
Eq Filter Source # | |
Show Filter Source # | |
Arbitrary Filter Source # | |
ToJSON Filter Source # | |
Defined in Data.API.API.Gen | |
FromJSON Filter Source # | |
NFData Filter Source # | |
Defined in Data.API.API.Gen | |
SafeCopy Filter Source # | |
Serialise Filter Source # | |
Example Filter Source # | |
FromJSONWithErrs Filter Source # | |
Defined in Data.API.API.Gen |
data Conversion Source #
Conversion | |
|
Instances
Instances
Eq TypeRef Source # | |
Ord TypeRef Source # | |
Show TypeRef Source # | |
IsString TypeRef Source # | |
Defined in Data.API.API.Gen fromString :: String -> TypeRef # | |
Arbitrary TypeRef Source # | |
ToJSON TypeRef Source # | |
Defined in Data.API.API.Gen | |
FromJSON TypeRef Source # | |
NFData TypeRef Source # | |
Defined in Data.API.API.Gen | |
SafeCopy TypeRef Source # | |
Serialise TypeRef Source # | |
Example TypeRef Source # | |
FromJSONWithErrs TypeRef Source # | |
Defined in Data.API.API.Gen |
Instances
Bounded BasicType Source # | |
Enum BasicType Source # | |
Defined in Data.API.API.Gen succ :: BasicType -> BasicType # pred :: BasicType -> BasicType # fromEnum :: BasicType -> Int # enumFrom :: BasicType -> [BasicType] # enumFromThen :: BasicType -> BasicType -> [BasicType] # enumFromTo :: BasicType -> BasicType -> [BasicType] # enumFromThenTo :: BasicType -> BasicType -> BasicType -> [BasicType] # | |
Eq BasicType Source # | |
Ord BasicType Source # | |
Defined in Data.API.API.Gen | |
Show BasicType Source # | |
Arbitrary BasicType Source # | |
ToJSON BasicType Source # | |
Defined in Data.API.API.Gen | |
FromJSON BasicType Source # | |
NFData BasicType Source # | |
Defined in Data.API.API.Gen | |
SafeCopy BasicType Source # | |
Serialise BasicType Source # | |
Example BasicType Source # | |
FromJSONWithErrs BasicType Source # | |
Defined in Data.API.API.Gen |
Instances
Eq APIType Source # | |
Show APIType Source # | |
Arbitrary APIType Source # | |
ToJSON APIType Source # | |
Defined in Data.API.API.Gen | |
FromJSON APIType Source # | |
NFData APIType Source # | |
Defined in Data.API.API.Gen | |
SafeCopy APIType Source # | |
Serialise APIType Source # | |
Example APIType Source # | |
FromJSONWithErrs APIType Source # | |
Defined in Data.API.API.Gen |
data SpecNewtype Source #
SpecNewtype | |
|
Instances
data DefaultValue Source #
Instances
Field | |
|
Instances
Eq Field Source # | |
Show Field Source # | |
Arbitrary Field Source # | |
ToJSON Field Source # | |
Defined in Data.API.API.Gen | |
FromJSON Field Source # | |
NFData Field Source # | |
Defined in Data.API.API.Gen | |
SafeCopy Field Source # | |
Serialise Field Source # | |
Example Field Source # | |
FromJSONWithErrs Field Source # | |
Defined in Data.API.API.Gen |
SP_newtype !SpecNewtype | |
SP_record ![Field] | |
SP_union ![Field] | |
SP_enum ![Text] | |
SP_synonym !APIType |
Instances
Eq Spec Source # | |
Show Spec Source # | |
Arbitrary Spec Source # | |
ToJSON Spec Source # | |
Defined in Data.API.API.Gen | |
FromJSON Spec Source # | |
NFData Spec Source # | |
Defined in Data.API.API.Gen | |
SafeCopy Spec Source # | |
Serialise Spec Source # | |
Example Spec Source # | |
FromJSONWithErrs Spec Source # | |
Defined in Data.API.API.Gen |
APINode | |
|
Instances
Eq APINode Source # | |
Show APINode Source # | |
Arbitrary APINode Source # | |
ToJSON APINode Source # | |
Defined in Data.API.API.Gen | |
FromJSON APINode Source # | |
NFData APINode Source # | |
Defined in Data.API.API.Gen | |
SafeCopy APINode Source # | |
Serialise APINode Source # | |
Example APINode Source # | |
FromJSONWithErrs APINode Source # | |
Defined in Data.API.API.Gen |
apiAPITestsJSONToCBOR :: [(String, Property)] Source #
apiAPITestsCBORToJSON :: [(String, Property)] Source #
apiAPITestsCBOR :: [(String, Property)] Source #
apiAPITestsJSON :: [(String, Property)] Source #
fd_default :: Lens' Field (Maybe DefaultValue) Source #
an_convert :: Lens' APINode (Maybe Conversion) Source #
_text_BasicType :: BasicType -> Text Source #