Module

Database.ElasticSearch.Client

#client

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

#cloudClient

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

#apiKey

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

#ApiKey

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

#Auth

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

Re-exports from Database.ElasticSearch.Internal

#Client

data Client :: Type

Modules