odd-jobs-0.2.2: A full-featured PostgreSQL-backed job queue (with an admin UI)

Safe HaskellNone
LanguageHaskell2010

OddJobs.Web

Documentation

data OrderDirection Source #

Constructors

Asc 
Desc 
Instances
Enum OrderDirection Source # 
Instance details

Defined in OddJobs.Web

Eq OrderDirection Source # 
Instance details

Defined in OddJobs.Web

Show OrderDirection Source # 
Instance details

Defined in OddJobs.Web

Generic OrderDirection Source # 
Instance details

Defined in OddJobs.Web

Associated Types

type Rep OrderDirection :: Type -> Type #

ToJSON OrderDirection Source # 
Instance details

Defined in OddJobs.Web

FromJSON OrderDirection Source # 
Instance details

Defined in OddJobs.Web

type Rep OrderDirection Source # 
Instance details

Defined in OddJobs.Web

type Rep OrderDirection = D1 (MetaData "OrderDirection" "OddJobs.Web" "odd-jobs-0.2.2-IQT5Y8dLVtd1UwbOhFLeU6" False) (C1 (MetaCons "Asc" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Desc" PrefixI False) (U1 :: Type -> Type))

data OrderByField Source #

Instances
Enum OrderByField Source # 
Instance details

Defined in OddJobs.Web

Eq OrderByField Source # 
Instance details

Defined in OddJobs.Web

Show OrderByField Source # 
Instance details

Defined in OddJobs.Web

Generic OrderByField Source # 
Instance details

Defined in OddJobs.Web

Associated Types

type Rep OrderByField :: Type -> Type #

ToJSON OrderByField Source # 
Instance details

Defined in OddJobs.Web

FromJSON OrderByField Source # 
Instance details

Defined in OddJobs.Web

type Rep OrderByField Source # 
Instance details

Defined in OddJobs.Web

type Rep OrderByField = D1 (MetaData "OrderByField" "OddJobs.Web" "odd-jobs-0.2.2-IQT5Y8dLVtd1UwbOhFLeU6" False) ((C1 (MetaCons "OrdCreatedAt" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OrdUpdatedAt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "OrdLockedAt" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OrdStatus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OrdJobType" PrefixI False) (U1 :: Type -> Type))))

data Filter Source #

Instances
Eq Filter Source # 
Instance details

Defined in OddJobs.Web

Methods

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

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

Show Filter Source # 
Instance details

Defined in OddJobs.Web

Generic Filter Source # 
Instance details

Defined in OddJobs.Web

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Semigroup Filter Source # 
Instance details

Defined in OddJobs.Web

Monoid Filter Source # 
Instance details

Defined in OddJobs.Web

ToJSON Filter Source # 
Instance details

Defined in OddJobs.Web

FromJSON Filter Source # 
Instance details

Defined in OddJobs.Web

ToHttpApiData Filter Source # 
Instance details

Defined in OddJobs.Web

FromHttpApiData Filter Source # 
Instance details

Defined in OddJobs.Web

type Rep Filter Source # 
Instance details

Defined in OddJobs.Web

pageLayout :: Routes -> Html () -> Html () -> Html () Source #

showText :: Show a => a -> Text Source #

jobRow :: Routes -> UTCTime -> (Job, Html ()) -> Html () Source #

resultsPanel :: Routes -> UTCTime -> Filter -> [(Job, Html ())] -> Int -> Html () Source #