Module

Database.ElasticSearch.Client

Package
purescript-elasticsearch
Repository
ConnorDillon/purescript-elasticsearch

#client Source

client :: forall a. Castable (Record a) { auth :: UndefinedOr Auth, node :: String } => Record a -> Effect Client

#cloudClient Source

cloudClient :: { auth :: Auth, cloud :: { id :: String } } -> Effect Client

#apiKey Source

apiKey :: forall a. Castable a ApiKey => a -> Auth

#ApiKey Source

type ApiKey = String |+| { api_key :: String, id :: String }

#Auth Source

type Auth = { password :: String, username :: String } |+| { apiKey :: ApiKey }

Re-exports from Database.ElasticSearch.Internal

#Client Source

data Client :: Type