Safe Haskell | None |
---|
- data CoreState = CoreState {
- coreUACCT :: Maybe UACCT
- coreRootRedirect :: Maybe Text
- initialCoreState :: CoreState
- getUACCT :: Query CoreState (Maybe UACCT)
- setUACCT :: Maybe UACCT -> Update CoreState ()
- getRootRedirect :: Query CoreState (Maybe Text)
- setRootRedirect :: Maybe Text -> Update CoreState ()
- data GetUACCT = GetUACCT
- data SetUACCT = SetUACCT (Maybe UACCT)
- data GetRootRedirect = GetRootRedirect
- data SetRootRedirect = SetRootRedirect (Maybe Text)
- data Acid = Acid {}
- class GetAcidState m st where
- getAcidState :: m (AcidState st)
- withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a
Documentation
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
getRootRedirect :: Query CoreState (Maybe Text)Source
get the path that /
should redirect to
setRootRedirect :: Maybe Text -> Update CoreState ()Source
set the path that /
should redirect to
data GetRootRedirect Source
data SetRootRedirect Source
SetRootRedirect (Maybe Text) |
class GetAcidState m st whereSource
getAcidState :: m (AcidState st)Source
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 |