Module

Yoga.BetterAuth.OmLayer

Package
purescript-yoga-better-auth
Repository
rowtype-yoga/purescript-yoga-better-auth

#databaseLive Source

databaseLive :: forall r. OmLayer (connectionString :: String, scope :: Scope | r) () { database :: Database }

#databaseLive' Source

databaseLive' :: String -> OmLayer (scope :: Scope) () { database :: Database }

#betterAuthLive Source

betterAuthLive :: forall r opts opts_. Lacks "database" opts => Union opts opts_ BetterAuthOptionsImpl => OmLayer (betterAuthConfig :: Record opts, database :: Database | r) () { auth :: Auth }

#betterAuthLive' Source

betterAuthLive' :: forall r opts opts_. Lacks "database" opts => Union opts opts_ BetterAuthOptionsImpl => Record opts -> OmLayer (database :: Database | r) () { auth :: Auth }

#migrationsLive Source

migrationsLive :: forall r. OmLayer (auth :: Auth | r) () (Record ())

#testClientLive Source

testClientLive :: forall r. OmLayer (auth :: Auth, baseURL :: String | r) () { authClient :: AuthClient }

#testClientLive' Source

testClientLive' :: forall r. String -> OmLayer (auth :: Auth | r) () { authClient :: AuthClient }

#browserClientLive Source

browserClientLive :: forall r. OmLayer (baseURL :: String | r) () { authClient :: AuthClient }

#authFullLive Source

authFullLive :: forall opts opts_. Lacks "database" opts => Union opts opts_ BetterAuthOptionsImpl => { betterAuthConfig :: Record opts, connectionString :: String } -> OmLayer (scope :: Scope) () { auth :: Auth, database :: Database }

#testStackLive Source

testStackLive :: forall opts opts_. Lacks "database" opts => Union opts opts_ BetterAuthOptionsImpl => { baseURL :: String, betterAuthConfig :: Record opts, connectionString :: String } -> OmLayer (scope :: Scope) () { auth :: Auth, authClient :: AuthClient, database :: Database }

#DatabaseL Source

type DatabaseL :: Row Type -> Row Typetype DatabaseL r = (database :: Database | r)

#BetterAuthL Source

type BetterAuthL :: Row Type -> Row Typetype BetterAuthL r = (auth :: Auth | r)

#AuthClientL Source

type AuthClientL :: Row Type -> Row Typetype AuthClientL r = (authClient :: AuthClient | r)