packages feed

airtable-api 0.1.0.2 → 0.1.0.3

raw patch · 4 files changed

+25/−5 lines, 4 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Airtable.Query: AirtableOptions :: String -> String -> Int -> AirtableOptions
+ Airtable.Query: [apiKey] :: AirtableOptions -> String
+ Airtable.Query: [apiVersion] :: AirtableOptions -> Int
+ Airtable.Query: [appId] :: AirtableOptions -> String
+ Airtable.Table: instance GHC.Classes.Eq a => GHC.Classes.Eq (Airtable.Table.Table a)
+ Airtable.Table: instance GHC.Generics.Generic (Airtable.Table.Table a)
+ Airtable.Table: instance GHC.Read.Read Airtable.Table.RecordID
+ Airtable.Table: instance GHC.Read.Read a => GHC.Read.Read (Airtable.Table.Table a)

Files

README.md view
@@ -1,3 +1,13 @@ ## The Airtable API for Haskell  Provides a high-level interface to requesting and introspecting Tables within an Airtable project. ++How to add to stack.yaml:+```yaml+packages:+...+- location:+    git: https://github.com/ooblahman/airtable-api.git+    commit: 6895cbbc4f83069a8455fcc00f6e313d867ca296+  extra-dep: true+```
airtable-api.cabal view
@@ -1,5 +1,5 @@ name:                airtable-api-version:             0.1.0.2+version:             0.1.0.3 synopsis:            Requesting and introspecting Tables within an Airtable project.  -- description: homepage:            https://github.com/ooblahman/airtable-api@@ -38,4 +38,4 @@  source-repository head   type:     git-  location: https://github.com/githubuser/airtable-api+  location: https://github.com/ooblahman/airtable-api
src/Airtable/Query.hs view
@@ -3,7 +3,7 @@ module Airtable.Query     ( module Airtable.Table       -- * Configuration for Airtable requests.-    , AirtableOptions+    , AirtableOptions(..)       -- * Main API     , getTable     ) where
src/Airtable/Table.hs view
@@ -46,7 +46,13 @@ -- * RecordID   -- | Airtable's record ID for use in indexing records-newtype RecordID = RecordID Text deriving (FromJSON, Show, Eq, Generic, Ord)+newtype RecordID = RecordID Text deriving ( FromJSON+                                          , Show+                                          , Read+                                          , Eq+                                          , Generic+                                          , Ord+                                          )  instance Hashable RecordID  @@ -71,7 +77,11 @@ data Table a = Table { tableRecords :: Map.HashMap RecordID a                      , tableOffset :: Maybe Text                      } deriving -                     ( Show )+                     ( Show +                     , Read+                     , Eq+                     , Generic+                     )  -- | Synonym used in querying tables from the API. type TableName = String