Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
type OutputDirectory = FilePath #
type DumpSpec b = (ReifiesBackend b, MustacheBackend b, RunBackendEffect b, DumpBackendRequirements b) #
runDump :: DumpSpec b => RuntimeEnv -> RawInterpretedSpec b -> OutputDirectory -> IncludeUnmanagedTables -> DumpNameMode -> [RunTableSelector] -> Maybe Value -> IO (Either (NonEmpty ValidationError) ()) #
data DumpNameMode #
Instances
Show DumpNameMode # | |
Defined in Napkin.Spec.Dump showsPrec :: Int -> DumpNameMode -> ShowS # show :: DumpNameMode -> String # showList :: [DumpNameMode] -> ShowS # | |
Eq DumpNameMode # | |
Defined in Napkin.Spec.Dump (==) :: DumpNameMode -> DumpNameMode -> Bool # (/=) :: DumpNameMode -> DumpNameMode -> Bool # |
renderTableSpec :: DumpSpec b => RuntimeEnv -> InterpretedSpecEnvironment -> TableSpec b -> IO (Either WriteLog (WriteLog, WriteLog)) #
storeDependencyGraph :: SpecDepGraph -> FilePath -> IO () #
type ColorBuckets = Map String Color #
specGraphAsDot :: SpecDepGraph -> DotGraph Int #
type TagsPerRow = Int #
createTableSpecTagsTableRows :: TagsPerRow -> ColorBuckets -> Set TableSpecTag -> [Row] #
tableau10Colors :: [Color] #
tableau20Colors :: [Color] #
Instances
ToJSON GraphJSON # | |||||
Generic GraphJSON # | |||||
Defined in Napkin.Spec.Dump
| |||||
type Rep GraphJSON # | |||||
Defined in Napkin.Spec.Dump type Rep GraphJSON = D1 ('MetaData "GraphJSON" "Napkin.Spec.Dump" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "GraphJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName ManagedTable)))) |
data ManagedTable #
Instances
toGraphJSON :: Specs b -> Map SpecTableName (ProgramDependenciesAndQueries b) -> GraphJSON #