Safe Haskell | None |
---|
Clckwrks.Acid
- data CoreState_v0 = CoreState_v0 {}
- data CoreState = CoreState {}
- initialCoreState :: CoreState
- getUACCT :: Query CoreState (Maybe UACCT)
- setUACCT :: Maybe UACCT -> Update CoreState ()
- getRootRedirect :: Query CoreState (Maybe Text)
- setRootRedirect :: Maybe Text -> Update CoreState ()
- getLoginRedirect :: Query CoreState (Maybe Text)
- setLoginRedirect :: Maybe Text -> Update CoreState ()
- getSiteName :: Query CoreState (Maybe Text)
- setSiteName :: Maybe Text -> Update CoreState ()
- getCoreState :: Query CoreState CoreState
- setCoreState :: CoreState -> Update CoreState ()
- data GetUACCT = GetUACCT
- newtype SetUACCT = SetUACCT (Maybe UACCT)
- data GetRootRedirect = GetRootRedirect
- newtype SetRootRedirect = SetRootRedirect (Maybe Text)
- data GetLoginRedirect = GetLoginRedirect
- newtype SetLoginRedirect = SetLoginRedirect (Maybe Text)
- data GetSiteName = GetSiteName
- newtype SetSiteName = SetSiteName (Maybe Text)
- data GetCoreState = GetCoreState
- newtype SetCoreState = SetCoreState CoreState
- data Acid = Acid {}
- class GetAcidState m st where
- getAcidState :: m (AcidState st)
- withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a
Documentation
data CoreState_v0 Source
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
Constructors
CoreState_v0 | |
Fields
|
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
Constructors
CoreState | |
Fields
|
getLoginRedirect :: Query CoreState (Maybe Text)Source
get the path that we should redirect to after login
setLoginRedirect :: Maybe Text -> Update CoreState ()Source
set the path that we should redirect to after login
Constructors
GetUACCT |
data GetRootRedirect Source
Constructors
GetRootRedirect |
newtype SetRootRedirect Source
Constructors
SetRootRedirect (Maybe Text) |
data GetLoginRedirect Source
Constructors
GetLoginRedirect |
newtype SetLoginRedirect Source
Constructors
SetLoginRedirect (Maybe Text) |
data GetSiteName Source
Constructors
GetSiteName |
newtype SetSiteName Source
Constructors
SetSiteName (Maybe Text) |
data GetCoreState Source
Constructors
GetCoreState |
newtype SetCoreState Source
Constructors
SetCoreState CoreState |
Constructors
Acid | |
class GetAcidState m st whereSource
Methods
getAcidState :: m (AcidState st)Source
Instances
GetAcidState m st => GetAcidState (XMLGenT m) st | |
(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileDataState | |
(Functor m, Monad m) => GetAcidState (ClckT url m) NavBarState | |
(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState | |
(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileState | |
(Functor m, Monad m) => GetAcidState (ClckT url m) AuthState |