aboutsummaryrefslogtreecommitdiff
path: root/spec/src/Thermoprint/API.hs
diff options
context:
space:
mode:
Diffstat (limited to 'spec/src/Thermoprint/API.hs')
-rw-r--r--spec/src/Thermoprint/API.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/src/Thermoprint/API.hs b/spec/src/Thermoprint/API.hs
index e77f406..49cccf5 100644
--- a/spec/src/Thermoprint/API.hs
+++ b/spec/src/Thermoprint/API.hs
@@ -2,6 +2,7 @@
2{-# LANGUAGE TypeOperators, DataKinds #-} 2{-# LANGUAGE TypeOperators, DataKinds #-}
3{-# LANGUAGE OverloadedStrings #-} 3{-# LANGUAGE OverloadedStrings #-}
4 4
5-- ^ A specification of an API for interacting with a set of printers
5module Thermoprint.API 6module Thermoprint.API
6 ( PrinterStatus(..) 7 ( PrinterStatus(..)
7 , JobStatus(..) 8 , JobStatus(..)
@@ -65,4 +66,5 @@ type ThermoprintAPI = "printers" :> Get '[JSON] (Set PrinterId)
65 ) 66 )
66 67
67thermoprintAPI :: Proxy ThermoprintAPI 68thermoprintAPI :: Proxy ThermoprintAPI
69-- ^ Servant occasionally needs an object of this type
68thermoprintAPI = Proxy 70thermoprintAPI = Proxy