Module

Gun.User

Package
purescript-bf-gun
Repository
gorillatron/purescript-bf-gun

#AuthSuccessPayload Source

type AuthSuccessPayload = { ack :: Int, get :: String, id :: String, ok :: Int, pub :: String, soul :: String }

#CreatedSuccessPayload Source

type CreatedSuccessPayload = { ok :: Int, pub :: String }

#CreatedErrorPayload Source

type CreatedErrorPayload = { err :: String }

#AuthErrorPayload Source

type AuthErrorPayload = { err :: String }

#DeleteSuccessPayload Source

type DeleteSuccessPayload = { ok :: Int }

#user Source

user :: forall a. Node a -> Node a

#userAt Source

userAt :: forall a. String -> Node a -> Node a

#createUser Source

createUser :: forall a. String -> String -> Node a -> Aff CreateAck

#auth Source

auth :: forall a. String -> String -> Node a -> Aff AuthAck

#recall Source

recall :: forall a. Node a -> Aff AuthAck

#leave Source

leave :: forall a. Node a -> Effect (Node a)

#delete Source