rest-types 1.11 → 1.11.1
raw patch · 3 files changed
+12/−2 lines, 3 files
Files
- CHANGELOG.md +5/−1
- rest-types.cabal +2/−1
- src/Rest/Types/Range.hs +5/−0
CHANGELOG.md view
@@ -1,6 +1,10 @@ # Changelog -### 1.11+### 1.11.1++* Moved `Range` from `rest-core` to `Rest.Types.Range`.++## 1.11 * Added `Rest.Types.Error.ToResponseCode` for getting the response codes of errors. * Removed `responseCode` from `Rest.Types.Error.DomainReason`, use `toResponseCode` instead.
rest-types.cabal view
@@ -1,5 +1,5 @@ name: rest-types-version: 1.11+version: 1.11.1 description: Silk Rest Framework Types synopsis: Silk Rest Framework Types maintainer: code@silk.co@@ -25,6 +25,7 @@ Rest.Types.Container.Resource Rest.Types.Info Rest.Types.Error+ Rest.Types.Range Rest.Types.ShowUrl build-depends: base == 4.*
+ src/Rest/Types/Range.hs view
@@ -0,0 +1,5 @@+module Rest.Types.Range (Range (..)) where++-- | Data type for representing the requested range in list handlers.++data Range = Range { offset :: Int, count :: Int }