aboutsummaryrefslogtreecommitdiff
path: root/spec/src/Thermoprint/API.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-23 12:45:43 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-23 12:45:43 +0000
commit5273512b68c67eff2c8e869f84dad1c4d69e16a8 (patch)
treee9e653ac9a049e2433d345c4ae2fb7a0d59429ab /spec/src/Thermoprint/API.hs
parent6348b2fb57b291b925ce27e9070eecc10d560608 (diff)
downloadthermoprint-5273512b68c67eff2c8e869f84dad1c4d69e16a8.tar
thermoprint-5273512b68c67eff2c8e869f84dad1c4d69e16a8.tar.gz
thermoprint-5273512b68c67eff2c8e869f84dad1c4d69e16a8.tar.bz2
thermoprint-5273512b68c67eff2c8e869f84dad1c4d69e16a8.tar.xz
thermoprint-5273512b68c67eff2c8e869f84dad1c4d69e16a8.zip
read instances to facilitate persistent storage
Diffstat (limited to 'spec/src/Thermoprint/API.hs')
-rw-r--r--spec/src/Thermoprint/API.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/src/Thermoprint/API.hs b/spec/src/Thermoprint/API.hs
index 6c86008..00115f3 100644
--- a/spec/src/Thermoprint/API.hs
+++ b/spec/src/Thermoprint/API.hs
@@ -52,10 +52,10 @@ data JobStatus = Queued PrinterId
52 | Printing PrinterId 52 | Printing PrinterId
53 | Done 53 | Done
54 | Failed PrintingError 54 | Failed PrintingError
55 deriving (Generic, Show, FromJSON, ToJSON) 55 deriving (Generic, Show, Read, FromJSON, ToJSON)
56 56
57data PrintingError = UnknownError 57data PrintingError = UnknownError
58 deriving (Typeable, Generic, Show, FromJSON, ToJSON, Exception) 58 deriving (Typeable, Generic, Show, Read, FromJSON, ToJSON, Exception)
59 59
60type DraftTitle = Text 60type DraftTitle = Text
61 61