Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
data WebRunMode b #
WebDryRun ([RunTableSelector] -> TasksDAG Full b -> IO (TasksDAG Full b, [Text])) | execution plan evaluation and table selectors |
WebRealRun (RuntimeEventQueueDAG b) (TMVar UIExecutionControl) | events queue and pause/quit sync var |
Instances
isRealRun :: WebRunMode b -> Bool #
isDryRun :: WebRunMode b -> Bool #
Instances
Generic Contents # | |||||
Defined in Napkin.Cli.Web.Graph.Types | |||||
HyperView Contents # | |||||
Defined in Napkin.Cli.Web.Graph.Types
| |||||
ViewId Contents # | |||||
Defined in Napkin.Cli.Web.Graph.Types | |||||
type Rep Contents # | |||||
type Action Contents # | |||||
Defined in Napkin.Cli.Web.Graph.Types |
data TableTaskTypeFilter #
Instances
FromJSON TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types | |||||
ToJSON TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types toJSON :: TableTaskTypeFilter -> Value # toEncoding :: TableTaskTypeFilter -> Encoding # toJSONList :: [TableTaskTypeFilter] -> Value # toEncodingList :: [TableTaskTypeFilter] -> Encoding # omitField :: TableTaskTypeFilter -> Bool # | |||||
Generic TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types
from :: TableTaskTypeFilter -> Rep TableTaskTypeFilter x # to :: Rep TableTaskTypeFilter x -> TableTaskTypeFilter # | |||||
Show TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types showsPrec :: Int -> TableTaskTypeFilter -> ShowS # show :: TableTaskTypeFilter -> String # showList :: [TableTaskTypeFilter] -> ShowS # | |||||
Eq TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types (==) :: TableTaskTypeFilter -> TableTaskTypeFilter -> Bool # (/=) :: TableTaskTypeFilter -> TableTaskTypeFilter -> Bool # | |||||
type Rep TableTaskTypeFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep TableTaskTypeFilter = D1 ('MetaData "TableTaskTypeFilter" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) (C1 ('MetaCons "FilterTableCreateOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FilterTableHookOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FilterGlobalHookOnly" 'PrefixI 'False) (U1 :: Type -> Type))) |
data TableFilter #
Instances
FromJSON TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types parseJSON :: Value -> Parser TableFilter # parseJSONList :: Value -> Parser [TableFilter] # | |||||
ToJSON TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types toJSON :: TableFilter -> Value # toEncoding :: TableFilter -> Encoding # toJSONList :: [TableFilter] -> Value # toEncodingList :: [TableFilter] -> Encoding # omitField :: TableFilter -> Bool # | |||||
Generic TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types
from :: TableFilter -> Rep TableFilter x # to :: Rep TableFilter x -> TableFilter # | |||||
Show TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types showsPrec :: Int -> TableFilter -> ShowS # show :: TableFilter -> String # showList :: [TableFilter] -> ShowS # | |||||
Eq TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types (==) :: TableFilter -> TableFilter -> Bool # (/=) :: TableFilter -> TableFilter -> Bool # | |||||
type Rep TableFilter # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep TableFilter = D1 ('MetaData "TableFilter" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) ((C1 ('MetaCons "FilterAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FilterState" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleTaskState))) :+: (C1 ('MetaCons "FilterType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableTaskTypeFilter)) :+: C1 ('MetaCons "FilterTag" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data TableOrdering #
Instances
FromJSON TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types parseJSON :: Value -> Parser TableOrdering # parseJSONList :: Value -> Parser [TableOrdering] # | |||||
ToJSON TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types toJSON :: TableOrdering -> Value # toEncoding :: TableOrdering -> Encoding # toJSONList :: [TableOrdering] -> Value # toEncodingList :: [TableOrdering] -> Encoding # omitField :: TableOrdering -> Bool # | |||||
Bounded TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types | |||||
Enum TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types succ :: TableOrdering -> TableOrdering # pred :: TableOrdering -> TableOrdering # toEnum :: Int -> TableOrdering # fromEnum :: TableOrdering -> Int # enumFrom :: TableOrdering -> [TableOrdering] # enumFromThen :: TableOrdering -> TableOrdering -> [TableOrdering] # enumFromTo :: TableOrdering -> TableOrdering -> [TableOrdering] # enumFromThenTo :: TableOrdering -> TableOrdering -> TableOrdering -> [TableOrdering] # | |||||
Generic TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types
from :: TableOrdering -> Rep TableOrdering x # to :: Rep TableOrdering x -> TableOrdering # | |||||
Show TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types showsPrec :: Int -> TableOrdering -> ShowS # show :: TableOrdering -> String # showList :: [TableOrdering] -> ShowS # | |||||
Eq TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types (==) :: TableOrdering -> TableOrdering -> Bool # (/=) :: TableOrdering -> TableOrdering -> Bool # | |||||
Param TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types toParam :: TableOrdering -> Text # parseParam :: Text -> Maybe TableOrdering # | |||||
type Rep TableOrdering # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep TableOrdering = D1 ('MetaData "TableOrdering" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) ((C1 ('MetaCons "OrderByTable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTopSort" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OrderByTaskId" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrderByTaskState" 'PrefixI 'False) (U1 :: Type -> Type))) |
data ContentsAction #
Instances
FromJSON ContentsAction # | |||||
Defined in Napkin.Cli.Web.Graph.Types parseJSON :: Value -> Parser ContentsAction # parseJSONList :: Value -> Parser [ContentsAction] # | |||||
ToJSON ContentsAction # | |||||
Defined in Napkin.Cli.Web.Graph.Types toJSON :: ContentsAction -> Value # toEncoding :: ContentsAction -> Encoding # toJSONList :: [ContentsAction] -> Value # toEncodingList :: [ContentsAction] -> Encoding # omitField :: ContentsAction -> Bool # | |||||
Generic ContentsAction # | |||||
Defined in Napkin.Cli.Web.Graph.Types
from :: ContentsAction -> Rep ContentsAction x # to :: Rep ContentsAction x -> ContentsAction # | |||||
ViewAction ContentsAction # | |||||
Defined in Napkin.Cli.Web.Graph.Types toAction :: ContentsAction -> Text # parseAction :: Text -> Maybe ContentsAction # | |||||
type Rep ContentsAction # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep ContentsAction = D1 ('MetaData "ContentsAction" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) (C1 ('MetaCons "Reload" 'PrefixI 'True) (S1 ('MetaSel ('Just "order") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableOrdering) :*: S1 ('MetaSel ('Just "filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableFilter))) |
newtype ViaConNames a #
Instances
(Enum a, Bounded a, Show a, Typeable a) => Route (ViaConNames a) # | |
Defined in Napkin.Cli.Web.Graph.Types defRoute :: ViaConNames a # routePath :: ViaConNames a -> [Segment] # matchRoute :: [Segment] -> Maybe (ViaConNames a) # |
Instances
Bounded GraphType # | |||||
Enum GraphType # | |||||
Defined in Napkin.Cli.Web.Graph.Types succ :: GraphType -> GraphType # pred :: GraphType -> GraphType # fromEnum :: GraphType -> Int # enumFrom :: GraphType -> [GraphType] # enumFromThen :: GraphType -> GraphType -> [GraphType] # enumFromTo :: GraphType -> GraphType -> [GraphType] # enumFromThenTo :: GraphType -> GraphType -> GraphType -> [GraphType] # | |||||
Generic GraphType # | |||||
Defined in Napkin.Cli.Web.Graph.Types
| |||||
Show GraphType # | |||||
Eq GraphType # | |||||
Route GraphType # | |||||
type Rep GraphType # | |||||
Defined in Napkin.Cli.Web.Graph.Types type Rep GraphType = D1 ('MetaData "GraphType" "Napkin.Cli.Web.Graph.Types" "napkin-cli-2.0.0-4ha97GXrcwU2qMy5j7dc75" 'False) ((C1 ('MetaCons "Exec" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Clean" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Full" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Tables" 'PrefixI 'False) (U1 :: Type -> Type))) |