Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data YamlSpec b = YamlSpec {
- _yamlSpec_appName :: Maybe AppName
- _yamlSpec_sqlFolder :: FilePath
- _yamlSpec_connectionURL :: String
- _yamlSpec_metadataConnectionURL :: Maybe ConnectionString
- _yamlSpec_haskellFolder :: FilePath
- _yamlSpec_tableSpecs :: Map (Ref Table) (YamlTableSpec b)
- _yamlSpec_backend :: DbBackendOptions b
- _yamlSpec_specPreprocessors :: [YamlPreprocessor b]
- _yamlSpec_validator :: Maybe (Typed CustomValidator ModuleFunction)
- _yamlSpec_extraHaskellPackages :: [Package]
- _yamlSpec_extraHaskellModules :: [Module]
- _yamlSpec_defaultHaskellLanguageExtensions :: [YamlHaskellExtension]
- _yamlSpec_haskellSpec :: Maybe (Typed (Spec b ()) ModuleFunction)
- _yamlSpec_functionMacros :: Maybe (Typed ExternMacros ModuleFunction)
- defaultSqlFolder :: FilePath
- defaultHaskellFolder :: FilePath
- dbBackend :: forall b. ToDbBackend b => YamlSpec b -> DbBackend
- type YamlBackendBigQueryLabels = HashMap Text Text
- data YamlBigQueryDefaults = YamlBigQueryDefaults {}
- newtype YamlBackendTableMeta b = YamlBackendTableMeta {}
- data YamlTableSpec b = YamlTableSpec {
- _yamlTableSpec_targetTableOptions :: Maybe (BackendTableMeta b)
- _yamlTableSpec_createAction :: YamlSpecProgram b
- _yamlTableSpec_preHooks :: [YamlHook b]
- _yamlTableSpec_postHooks :: [YamlHook b]
- _yamlTableSpec_updateStrategy :: [UpdateStrategy]
- _yamlTableSpec_tags :: [TableSpecTag]
- _yamlTableSpec_deps :: [Ref Table]
- _yamlTableSpec_hiddenDeps :: [Ref Table]
- newtype YamlHaskellExtension = YamlHaskellExtension {}
- toExtensions :: [YamlHaskellExtension] -> [HaskellExtension]
- allHaskellModules :: Typeable b => YamlSpec b -> [Module]
Documentation
YamlSpec | |
|
Instances
dbBackend :: forall b. ToDbBackend b => YamlSpec b -> DbBackend #
type YamlBackendBigQueryLabels = HashMap Text Text #
data YamlBigQueryDefaults #
A set of defaults that's useful to capture from the user to disambiguate ad-hoc queries.
Instances
newtype YamlBackendTableMeta b #
Instances
data YamlTableSpec b #
Instances
(Eq (BackendTableMeta b), Typeable b) => Eq (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types (==) :: YamlTableSpec b -> YamlTableSpec b -> Bool # (/=) :: YamlTableSpec b -> YamlTableSpec b -> Bool # | |
(Show (BackendTableMeta b), Typeable b) => Show (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types showsPrec :: Int -> YamlTableSpec b -> ShowS # show :: YamlTableSpec b -> String # showList :: [YamlTableSpec b] -> ShowS # | |
(ToJSON (YamlBackendTableMeta b), Typeable b) => ToJSON (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types toJSON :: YamlTableSpec b -> Value # toEncoding :: YamlTableSpec b -> Encoding # toJSONList :: [YamlTableSpec b] -> Value # toEncodingList :: [YamlTableSpec b] -> Encoding # | |
(ReifiesBackend b, ParseSQL b, FromJSON (YamlBackendTableMeta b), Typeable b) => FromJSON (YamlTableSpec b) # | |
Defined in Napkin.Spec.Yaml.Types parseJSON :: Value -> Parser (YamlTableSpec b) # parseJSONList :: Value -> Parser [YamlTableSpec b] # |
newtype YamlHaskellExtension #
Instances
Eq YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types (==) :: YamlHaskellExtension -> YamlHaskellExtension -> Bool # (/=) :: YamlHaskellExtension -> YamlHaskellExtension -> Bool # | |
Show YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types showsPrec :: Int -> YamlHaskellExtension -> ShowS # show :: YamlHaskellExtension -> String # showList :: [YamlHaskellExtension] -> ShowS # | |
ToJSON YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types toJSON :: YamlHaskellExtension -> Value # toEncoding :: YamlHaskellExtension -> Encoding # toJSONList :: [YamlHaskellExtension] -> Value # toEncodingList :: [YamlHaskellExtension] -> Encoding # | |
FromJSON YamlHaskellExtension # | |
Defined in Napkin.Spec.Yaml.Types parseJSON :: Value -> Parser YamlHaskellExtension # parseJSONList :: Value -> Parser [YamlHaskellExtension] # |
toExtensions :: [YamlHaskellExtension] -> [HaskellExtension] #
allHaskellModules :: Typeable b => YamlSpec b -> [Module] #