Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type FireStoreScope = '["https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore"]
- data Document = Document {}
- data Value
- _Null :: Prism' Value ()
- _Reference :: Prism' Value Text
- _Array :: Prism' Value [Value]
- _Map :: Prism' Value (HashMap Text Value)
- _Bool :: Prism' Value Bool
- _String :: Prism' Value Text
- _Double :: Prism' Value Double
- _Timestamp :: Prism' Value UTCTime
- _Int :: Prism' Value Integer
- _Bytes :: Prism' Value ByteString
- _GeoPoint :: Prism' Value (Double, Double)
- newtype FireStore a = FireStore {
- _action :: Text -> forall m s. (Monad m, MonadGoogle s m, HasScope' s FireStoreScope ~ True) => m a
- newtype PageToken = PageToken {
- _unPageToken :: Text
Documentation
type FireStoreScope = '["https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore"] Source #
Instances
Eq Document Source # | |
Show Document Source # | |
Generic Document Source # | |
ToJSON Document Source # | |
Defined in Database.Firestore.Types | |
type Rep Document Source # | |
Defined in Database.Firestore.Types type Rep Document = D1 ('MetaData "Document" "Database.Firestore.Types" "firestore-0.1.0.0-GrbsSLYeGb4AmfYCFA8tEe" 'False) (C1 ('MetaCons "Document" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime))) :*: (S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Text Value))))) |
GeoPoint Double Double | |
Bytes ByteString | |
Int Integer | |
Timestamp UTCTime | |
Double Double | |
String Text | |
Bool Bool | |
Map (HashMap Text Value) | |
Array [Value] | |
Reference Text | |
Null |
Instances
This is just a convenience monad that allows one to avoid all the gogol machinery.
FireStore | |
|