Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
type SpecDepGraph = Gr SpecDepGraphNode () #
data SpecDepGraphNode #
Instances
TaskId | |
|
displayTaskId :: TaskId -> Text #
Pending | |
Blocked (Set TaskId) | |
DependencyFailed TaskId | |
Running | |
CompletedOk [(DumpItem b, UTCTime)] (QueryStats b) | |
CompletedError [(DumpItem b, UTCTime)] Text | |
Skipped |
Instances
Generic (TaskState b) # | |||||
Defined in Napkin.Spec.Graph.Types
| |||||
Show (BackendQueryStats backend) => Show (TaskState backend) # | |||||
Eq (BackendQueryStats backend) => Eq (TaskState backend) # | |||||
type Rep (TaskState b) # | |||||
Defined in Napkin.Spec.Graph.Types type Rep (TaskState b) = D1 ('MetaData "TaskState" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blocked" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TaskId))) :+: C1 ('MetaCons "DependencyFailed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TaskId)))) :+: ((C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletedOk" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(DumpItem b, UTCTime)]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (QueryStats b)))) :+: (C1 ('MetaCons "CompletedError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(DumpItem b, UTCTime)]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Skipped" 'PrefixI 'False) (U1 :: Type -> Type)))) |
data ShowTaskIds #
Instances
Show ShowTaskIds # | |
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> ShowTaskIds -> ShowS # show :: ShowTaskIds -> String # showList :: [ShowTaskIds] -> ShowS # | |
Eq ShowTaskIds # | |
Defined in Napkin.Spec.Graph.Types (==) :: ShowTaskIds -> ShowTaskIds -> Bool # (/=) :: ShowTaskIds -> ShowTaskIds -> Bool # |
data ShowTasksGraph #
Instances
Show ShowTasksGraph # | |
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> ShowTasksGraph -> ShowS # show :: ShowTasksGraph -> String # showList :: [ShowTasksGraph] -> ShowS # | |
Eq ShowTasksGraph # | |
Defined in Napkin.Spec.Graph.Types (==) :: ShowTasksGraph -> ShowTasksGraph -> Bool # (/=) :: ShowTasksGraph -> ShowTasksGraph -> Bool # |
data SimpleTaskState #
Instances
FromJSON SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types parseJSON :: Value -> Parser SimpleTaskState # parseJSONList :: Value -> Parser [SimpleTaskState] # | |||||
ToJSON SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types toJSON :: SimpleTaskState -> Value # toEncoding :: SimpleTaskState -> Encoding # toJSONList :: [SimpleTaskState] -> Value # toEncodingList :: [SimpleTaskState] -> Encoding # omitField :: SimpleTaskState -> Bool # | |||||
Bounded SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types | |||||
Enum SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types succ :: SimpleTaskState -> SimpleTaskState # pred :: SimpleTaskState -> SimpleTaskState # toEnum :: Int -> SimpleTaskState # fromEnum :: SimpleTaskState -> Int # enumFrom :: SimpleTaskState -> [SimpleTaskState] # enumFromThen :: SimpleTaskState -> SimpleTaskState -> [SimpleTaskState] # enumFromTo :: SimpleTaskState -> SimpleTaskState -> [SimpleTaskState] # enumFromThenTo :: SimpleTaskState -> SimpleTaskState -> SimpleTaskState -> [SimpleTaskState] # | |||||
Generic SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types
from :: SimpleTaskState -> Rep SimpleTaskState x # to :: Rep SimpleTaskState x -> SimpleTaskState # | |||||
Show SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> SimpleTaskState -> ShowS # show :: SimpleTaskState -> String # showList :: [SimpleTaskState] -> ShowS # | |||||
Eq SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types (==) :: SimpleTaskState -> SimpleTaskState -> Bool # (/=) :: SimpleTaskState -> SimpleTaskState -> Bool # | |||||
Ord SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types compare :: SimpleTaskState -> SimpleTaskState -> Ordering # (<) :: SimpleTaskState -> SimpleTaskState -> Bool # (<=) :: SimpleTaskState -> SimpleTaskState -> Bool # (>) :: SimpleTaskState -> SimpleTaskState -> Bool # (>=) :: SimpleTaskState -> SimpleTaskState -> Bool # max :: SimpleTaskState -> SimpleTaskState -> SimpleTaskState # min :: SimpleTaskState -> SimpleTaskState -> SimpleTaskState # | |||||
ToClassName SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types toClassName :: SimpleTaskState -> Text # | |||||
ToColor SimpleTaskState # | |||||
Defined in Napkin.Cli.Web.Styles colorValue :: SimpleTaskState -> HexColor # colorName :: SimpleTaskState -> Text # | |||||
type Rep SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types type Rep SimpleTaskState = D1 ('MetaData "SimpleTaskState" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "SPending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SBlocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SDependencyFailed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SRunning" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SCompletedOk" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SCompletedError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SSkipped" 'PrefixI 'False) (U1 :: Type -> Type)))) |
data TaskStateInfo (b :: k) #
TaskStateInfo | |
|
Instances
Generic (TaskStateInfo b) # | |||||
Defined in Napkin.Spec.Graph.Types
from :: TaskStateInfo b -> Rep (TaskStateInfo b) x # to :: Rep (TaskStateInfo b) x -> TaskStateInfo b # | |||||
Show (BackendQueryStats backend) => Show (TaskStateInfo backend) # | |||||
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> TaskStateInfo backend -> ShowS # show :: TaskStateInfo backend -> String # showList :: [TaskStateInfo backend] -> ShowS # | |||||
Eq (BackendQueryStats backend) => Eq (TaskStateInfo backend) # | |||||
Defined in Napkin.Spec.Graph.Types (==) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool # (/=) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool # | |||||
type Rep (TaskStateInfo b) # | |||||
Defined in Napkin.Spec.Graph.Types type Rep (TaskStateInfo b) = D1 ('MetaData "TaskStateInfo" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "TaskStateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TaskState b)) :*: (S1 ('MetaSel ('Just "simple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleTaskState) :*: S1 ('MetaSel ('Just "transitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SimpleTaskState UTCTime))))) |
type DAGRunState (b :: k) = Map TaskId (TaskStateInfo b) #