napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Spec.Graph.Types

Documentation

data TableType #

Instances

Instances details
Show TableType # 
Instance details

Defined in Napkin.Spec.Graph.Types

data SpecDepGraphNode #

Instances

Instances details
Generic SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep SpecDepGraphNode 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode = D1 ('MetaData "SpecDepGraphNode" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "SpecDepGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "sdglTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: (S1 ('MetaSel ('Just "sdglTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableType) :*: S1 ('MetaSel ('Just "sdglTableTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)))))
Show SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode = D1 ('MetaData "SpecDepGraphNode" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "SpecDepGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "sdglTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: (S1 ('MetaSel ('Just "sdglTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableType) :*: S1 ('MetaSel ('Just "sdglTableTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)))))

newtype TaskId #

Constructors

TaskId 

Fields

Instances

Instances details
Generic TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep TaskId 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep TaskId = D1 ('MetaData "TaskId" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "TaskId" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskIdSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

Methods

from :: TaskId -> Rep TaskId x #

to :: Rep TaskId x -> TaskId #

Show TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

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

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

Ord TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Route TaskId # 
Instance details

Defined in Napkin.Cli.Web.Types

type Rep TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep TaskId = D1 ('MetaData "TaskId" "Napkin.Spec.Graph.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "TaskId" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskIdSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

data TaskState (b :: k) #

Instances

Instances details
Generic (TaskState b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

from :: TaskState b -> Rep (TaskState b) x #

to :: Rep (TaskState b) x -> TaskState b #

Show (BackendQueryStats backend) => Show (TaskState backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> TaskState backend -> ShowS #

show :: TaskState backend -> String #

showList :: [TaskState backend] -> ShowS #

Eq (BackendQueryStats backend) => Eq (TaskState backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskState backend -> TaskState backend -> Bool #

(/=) :: TaskState backend -> TaskState backend -> Bool #

type Rep (TaskState b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

data ShowTaskIds #

Constructors

ShowTaskIds 
HideTaskIds 

Instances

Instances details
Show ShowTaskIds # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq ShowTaskIds # 
Instance details

Defined in Napkin.Spec.Graph.Types

data SimpleTaskState #

Instances

Instances details
FromJSON SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

ToJSON SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Bounded SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Enum SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Generic SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep SimpleTaskState 
Instance details

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))))
Show SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

Ord SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

ToClassName SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types

ToColor SimpleTaskState # 
Instance details

Defined in Napkin.Cli.Web.Styles

type Rep SimpleTaskState # 
Instance details

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) #

Instances

Instances details
Generic (TaskStateInfo b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep (TaskStateInfo b) 
Instance details

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)))))
Show (BackendQueryStats backend) => Show (TaskStateInfo backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> TaskStateInfo backend -> ShowS #

show :: TaskStateInfo backend -> String #

showList :: [TaskStateInfo backend] -> ShowS #

Eq (BackendQueryStats backend) => Eq (TaskStateInfo backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool #

(/=) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool #

type Rep (TaskStateInfo b) # 
Instance details

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) #