Module

Web.Firebase

Package
purescript-firebase
Repository
mostalive/purescript-firebase

#auth Source

auth :: forall eff. FirebaseAppImpl -> Eff (firebase :: FirebaseEff | eff) Auth

#rootRefFor Source

rootRefFor :: forall eff. DatabaseImpl -> Eff (firebase :: FirebaseEff | eff) Firebase

#newFirebase Source

newFirebase :: forall eff. FirebaseURI -> Eff (firebase :: FirebaseEff | eff) Firebase

#initializeApp Source

initializeApp :: forall eff. FirebaseConfig -> Eff (firebase :: FirebaseEff | eff) App

#database Source

database :: forall eff. FirebaseAppImpl -> Eff (firebase :: FirebaseEff | eff) DatabaseImpl

#child Source

child :: forall eff. String -> Firebase -> Eff (firebase :: FirebaseEff | eff) Firebase

#EventType Source

data EventType

Constructors

Instances

#on Source

on :: forall eff. EventType -> (DataSnapshot -> Eff (firebase :: FirebaseEff | eff) Unit) -> (FirebaseErr -> Eff (firebase :: FirebaseEff | eff) Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#offSimple Source

offSimple :: forall eff. Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#once Source

once :: forall eff. EventType -> (DataSnapshot -> Eff (firebase :: FirebaseEff | eff) Unit) -> (FirebaseErr -> Eff (firebase :: FirebaseEff | eff) Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#set Source

set :: forall eff. Foreign -> Maybe (Maybe (FirebaseErr -> Eff eff Unit)) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#setE Source

setE :: forall eff. Foreign -> ((Maybe FirebaseErr) -> Eff eff Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#setA Source

setA :: forall eff2 eff1 eff. Foreign -> (Unit -> Eff eff1 Unit) -> (FirebaseErr -> Eff eff2 Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#push Source

push :: forall eff. Foreign -> Maybe (Maybe (FirebaseErr -> Eff eff Unit)) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Firebase

#pushE Source

pushE :: forall eff. Foreign -> ((Maybe FirebaseErr) -> Eff eff Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Firebase

#pushA Source

pushA :: forall eff2 eff1 eff. Foreign -> (Firebase -> Eff eff1 Unit) -> (FirebaseErr -> Eff eff2 Unit) -> Firebase -> Eff (firebase :: FirebaseEff | eff) Unit

#toString Source

toString :: forall eff. Firebase -> Eff (firebase :: FirebaseEff | eff) String