Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
type SpecDepGraph = Gr SpecDepGraphNode () #
data SpecDepGraphNode #
Instances
TaskId | |
|
Instances
ToJSON TaskId # | |||||
ToJSONKey TaskId # | |||||
Defined in Napkin.Spec.Graph.Types | |||||
Generic TaskId # | |||||
Defined in Napkin.Spec.Graph.Types
| |||||
Show TaskId # | |||||
Eq TaskId # | |||||
Ord TaskId # | |||||
Hashable TaskId # | |||||
Defined in Napkin.Spec.Graph.Types | |||||
type Rep TaskId # | |||||
Defined in Napkin.Spec.Graph.Types |
displayTaskId :: TaskId -> Text #
Pending | |
Blocked (Set TaskId) | |
DependencyFailed TaskId | |
Running (LiveDumpItems b) | |
CompletedOk [(DumpItem b, UTCTime)] (TaskResult 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-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" '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) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (LiveDumpItems b))) :+: 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 (TaskResult 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.SimpleTaskState parseJSON :: Value -> Parser SimpleTaskState # parseJSONList :: Value -> Parser [SimpleTaskState] # | |||||
ToJSON SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState toJSON :: SimpleTaskState -> Value # toEncoding :: SimpleTaskState -> Encoding # toJSONList :: [SimpleTaskState] -> Value # toEncodingList :: [SimpleTaskState] -> Encoding # omitField :: SimpleTaskState -> Bool # | |||||
ToJSONKey SimpleTaskState # | |||||
Bounded SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState | |||||
Enum SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState 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.SimpleTaskState
from :: SimpleTaskState -> Rep SimpleTaskState x # to :: Rep SimpleTaskState x -> SimpleTaskState # | |||||
Show SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState showsPrec :: Int -> SimpleTaskState -> ShowS # show :: SimpleTaskState -> String # showList :: [SimpleTaskState] -> ShowS # | |||||
Eq SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState (==) :: SimpleTaskState -> SimpleTaskState -> Bool # (/=) :: SimpleTaskState -> SimpleTaskState -> Bool # | |||||
Ord SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState 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.SimpleTaskState toClassName :: SimpleTaskState -> Text # | |||||
type Rep SimpleTaskState # | |||||
Defined in Napkin.Spec.Graph.Types.SimpleTaskState type Rep SimpleTaskState = D1 ('MetaData "SimpleTaskState" "Napkin.Spec.Graph.Types.SimpleTaskState" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) ((C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DependencyFailed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletedOk" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CompletedError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Skipped" '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-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" '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) #
data ForceTable #
Instances
Show ForceTable # | |
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> ForceTable -> ShowS # show :: ForceTable -> String # showList :: [ForceTable] -> ShowS # | |
Eq ForceTable # | |
Defined in Napkin.Spec.Graph.Types (==) :: ForceTable -> ForceTable -> Bool # (/=) :: ForceTable -> ForceTable -> Bool # | |
Ord ForceTable # | |
Defined in Napkin.Spec.Graph.Types compare :: ForceTable -> ForceTable -> Ordering # (<) :: ForceTable -> ForceTable -> Bool # (<=) :: ForceTable -> ForceTable -> Bool # (>) :: ForceTable -> ForceTable -> Bool # (>=) :: ForceTable -> ForceTable -> Bool # max :: ForceTable -> ForceTable -> ForceTable # min :: ForceTable -> ForceTable -> ForceTable # |
data ExecutionReason #
Instances
Show ExecutionReason # | |
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> ExecutionReason -> ShowS # show :: ExecutionReason -> String # showList :: [ExecutionReason] -> ShowS # | |
Eq ExecutionReason # | |
Defined in Napkin.Spec.Graph.Types (==) :: ExecutionReason -> ExecutionReason -> Bool # (/=) :: ExecutionReason -> ExecutionReason -> Bool # | |
Ord ExecutionReason # | |
Defined in Napkin.Spec.Graph.Types compare :: ExecutionReason -> ExecutionReason -> Ordering # (<) :: ExecutionReason -> ExecutionReason -> Bool # (<=) :: ExecutionReason -> ExecutionReason -> Bool # (>) :: ExecutionReason -> ExecutionReason -> Bool # (>=) :: ExecutionReason -> ExecutionReason -> Bool # max :: ExecutionReason -> ExecutionReason -> ExecutionReason # min :: ExecutionReason -> ExecutionReason -> ExecutionReason # |
taskDuration :: forall {k} (b :: k). TaskStateInfo b -> Maybe NominalDiffTime #
data TaskResult (bk :: k) #
TableResult (QueryStats bk) TableMemo | |
HookResult (HookResult bk) (QueryStats bk) | |
NullResult |
Instances
Generic (TaskResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types
from :: TaskResult bk -> Rep (TaskResult bk) x # to :: Rep (TaskResult bk) x -> TaskResult bk # | |||||
Show (BackendQueryStats backend) => Show (TaskResult backend) # | |||||
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> TaskResult backend -> ShowS # show :: TaskResult backend -> String # showList :: [TaskResult backend] -> ShowS # | |||||
Eq (BackendQueryStats backend) => Eq (TaskResult backend) # | |||||
Defined in Napkin.Spec.Graph.Types (==) :: TaskResult backend -> TaskResult backend -> Bool # (/=) :: TaskResult backend -> TaskResult backend -> Bool # | |||||
type Rep (TaskResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types type Rep (TaskResult bk) = D1 ('MetaData "TaskResult" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "TableResult" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (QueryStats bk)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableMemo)) :+: (C1 ('MetaCons "HookResult" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HookResult bk)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (QueryStats bk))) :+: C1 ('MetaCons "NullResult" 'PrefixI 'False) (U1 :: Type -> Type))) |
data HookResult (bk :: k) #
HookError (NonEmpty AssertionEntry) | Fatal Assertions |
HookOk [AssertionEntry] TableMemo | Warning Assertions |
Instances
Generic (HookResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types
from :: HookResult bk -> Rep (HookResult bk) x # to :: Rep (HookResult bk) x -> HookResult bk # | |||||
Show (HookResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> HookResult bk -> ShowS # show :: HookResult bk -> String # showList :: [HookResult bk] -> ShowS # | |||||
Eq (HookResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types (==) :: HookResult bk -> HookResult bk -> Bool # (/=) :: HookResult bk -> HookResult bk -> Bool # | |||||
type Rep (HookResult bk) # | |||||
Defined in Napkin.Spec.Graph.Types type Rep (HookResult bk) = D1 ('MetaData "HookResult" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "HookError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty AssertionEntry))) :+: C1 ('MetaCons "HookOk" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AssertionEntry]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableMemo))) |
newtype LiveDumpItems (b :: k) #
LiveDumpItems (IO [(DumpItem b, UTCTime)]) |
Instances
Show (LiveDumpItems b) # | |
Defined in Napkin.Spec.Graph.Types showsPrec :: Int -> LiveDumpItems b -> ShowS # show :: LiveDumpItems b -> String # showList :: [LiveDumpItems b] -> ShowS # | |
Eq (LiveDumpItems b) # | |
Defined in Napkin.Spec.Graph.Types (==) :: LiveDumpItems b -> LiveDumpItems b -> Bool # (/=) :: LiveDumpItems b -> LiveDumpItems b -> Bool # |