butler-0.0.1.0: At your service.
Safe HaskellSafe-Inferred
LanguageGHC2021

Butler.Display.Session

Documentation

data Session #

Constructors

Session 

Instances

Instances details
ToJSON Session # 
Instance details

Defined in Butler.Display.Session

Generic Session # 
Instance details

Defined in Butler.Display.Session

Associated Types

type Rep Session :: Type -> Type #

Methods

from :: Session -> Rep Session x #

to :: Rep Session x -> Session #

Eq Session # 
Instance details

Defined in Butler.Display.Session

Methods

(==) :: Session -> Session -> Bool #

(/=) :: Session -> Session -> Bool #

type Rep Session # 
Instance details

Defined in Butler.Display.Session

type Rep Session = D1 ('MetaData "Session" "Butler.Display.Session" "butler-0.0.1.0-inplace" 'False) (C1 ('MetaCons "Session" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SessionID) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TVar UserName))))

newInvite :: MonadIO m => Sessions -> InviteID -> m () #

newtype UserName #

Constructors

UserName Text 

Instances

Instances details
FromJSON UserName # 
Instance details

Defined in Butler.Display.User

ToJSON UserName # 
Instance details

Defined in Butler.Display.User

IsString UserName # 
Instance details

Defined in Butler.Display.User

Generic UserName # 
Instance details

Defined in Butler.Display.User

Associated Types

type Rep UserName :: Type -> Type #

Methods

from :: UserName -> Rep UserName x #

to :: Rep UserName x -> UserName #

Show UserName # 
Instance details

Defined in Butler.Display.User

Eq UserName # 
Instance details

Defined in Butler.Display.User

Ord UserName # 
Instance details

Defined in Butler.Display.User

FromHttpApiData UserName # 
Instance details

Defined in Butler.Display.User

ToHtml UserName # 
Instance details

Defined in Butler.Display.User

Methods

toHtml :: forall (m :: Type -> Type). Monad m => UserName -> HtmlT m () #

toHtmlRaw :: forall (m :: Type -> Type). Monad m => UserName -> HtmlT m () #

Serialise UserName # 
Instance details

Defined in Butler.Display.User

From UserName Text # 
Instance details

Defined in Butler.Display.User

Methods

from :: UserName -> Text #

type Rep UserName # 
Instance details

Defined in Butler.Display.User

type Rep UserName = D1 ('MetaData "UserName" "Butler.Display.User" "butler-0.0.1.0-inplace" 'True) (C1 ('MetaCons "UserName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype SessionID #

Constructors

SessionID UUID 

Instances

Instances details
FromJSON SessionID # 
Instance details

Defined in Butler.Display.Session

ToJSON SessionID # 
Instance details

Defined in Butler.Display.Session

Generic SessionID # 
Instance details

Defined in Butler.Display.Session

Associated Types

type Rep SessionID :: Type -> Type #

Show SessionID # 
Instance details

Defined in Butler.Display.Session

Eq SessionID # 
Instance details

Defined in Butler.Display.Session

Ord SessionID # 
Instance details

Defined in Butler.Display.Session

Hashable SessionID # 
Instance details

Defined in Butler.Display.Session

FromHttpApiData SessionID # 
Instance details

Defined in Butler.Display.Session

ToHtml SessionID # 
Instance details

Defined in Butler.Display.Session

Methods

toHtml :: forall (m :: Type -> Type). Monad m => SessionID -> HtmlT m () #

toHtmlRaw :: forall (m :: Type -> Type). Monad m => SessionID -> HtmlT m () #

Serialise SessionID # 
Instance details

Defined in Butler.Display.Session

FromJWT SessionID # 
Instance details

Defined in Butler.Display.Session

ToJWT SessionID # 
Instance details

Defined in Butler.Display.Session

From SessionID StorageAddress # 
Instance details

Defined in Butler.Display.Session

From SessionID Text # 
Instance details

Defined in Butler.Display.Session

Methods

from :: SessionID -> Text #

type Rep SessionID # 
Instance details

Defined in Butler.Display.Session

type Rep SessionID = D1 ('MetaData "SessionID" "Butler.Display.Session" "butler-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SessionID" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

newtype InviteID #

Constructors

InviteID Text 

Instances

Instances details
FromJSON InviteID # 
Instance details

Defined in Butler.Display.Session

ToJSON InviteID # 
Instance details

Defined in Butler.Display.Session

IsString InviteID # 
Instance details

Defined in Butler.Display.Session

Generic InviteID # 
Instance details

Defined in Butler.Display.Session

Associated Types

type Rep InviteID :: Type -> Type #

Methods

from :: InviteID -> Rep InviteID x #

to :: Rep InviteID x -> InviteID #

Show InviteID # 
Instance details

Defined in Butler.Display.Session

Eq InviteID # 
Instance details

Defined in Butler.Display.Session

Ord InviteID # 
Instance details

Defined in Butler.Display.Session

FromHttpApiData InviteID # 
Instance details

Defined in Butler.Display.Session

ToHtml InviteID # 
Instance details

Defined in Butler.Display.Session

Methods

toHtml :: forall (m :: Type -> Type). Monad m => InviteID -> HtmlT m () #

toHtmlRaw :: forall (m :: Type -> Type). Monad m => InviteID -> HtmlT m () #

Serialise InviteID # 
Instance details

Defined in Butler.Display.Session

type Rep InviteID # 
Instance details

Defined in Butler.Display.Session

type Rep InviteID = D1 ('MetaData "InviteID" "Butler.Display.Session" "butler-0.0.1.0-inplace" 'True) (C1 ('MetaCons "InviteID" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))