napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Spec.Yaml.Types

Documentation

data YamlArgumentType #

Instances

Instances details
FromJSON YamlArgumentType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Generic YamlArgumentType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep YamlArgumentType 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgumentType = D1 ('MetaData "YamlArgumentType" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlArgumentOptional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "YamlArgumentRequired" 'PrefixI 'False) (U1 :: Type -> Type))
Show YamlArgumentType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Eq YamlArgumentType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgumentType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgumentType = D1 ('MetaData "YamlArgumentType" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlArgumentOptional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "YamlArgumentRequired" 'PrefixI 'False) (U1 :: Type -> Type))

data YamlArgument #

Instances

Instances details
Generic YamlArgument # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep YamlArgument 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgument = D1 ('MetaData "YamlArgument" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlArgument" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "argumentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 YamlArgumentType) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)))))
Show YamlArgument # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Eq YamlArgument # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgument # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep YamlArgument = D1 ('MetaData "YamlArgument" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlArgument" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "argumentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 YamlArgumentType) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)))))

data HaskellPackageType #

Instances

Instances details
FromJSON HaskellPackageType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Generic HaskellPackageType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep HaskellPackageType 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackageType = D1 ('MetaData "HaskellPackageType" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "HaskellPackageHpack" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HaskellPackageCabal" 'PrefixI 'False) (U1 :: Type -> Type))
Show HaskellPackageType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Eq HaskellPackageType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackageType # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackageType = D1 ('MetaData "HaskellPackageType" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "HaskellPackageHpack" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HaskellPackageCabal" 'PrefixI 'False) (U1 :: Type -> Type))

data HaskellPackage #

Instances

Instances details
Generic HaskellPackage # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep HaskellPackage 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackage = D1 ('MetaData "HaskellPackage" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "HaskellPackage" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HaskellPackageType) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "library") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))
Show HaskellPackage # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Eq HaskellPackage # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackage # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep HaskellPackage = D1 ('MetaData "HaskellPackage" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "HaskellPackage" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HaskellPackageType) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Just "library") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

data YamlSpec b #

Constructors

YamlSpec 

Fields

Instances

Instances details
(ToDbBackend b, Typeable b, FromJSON (DbBackendOptions b), Default (BackendTableMeta b), Default (DbBackendOptions b), BackendMetaConstraints b, ReifiesBackend b, SqlConcat b) => FromJSON (YamlSpec b) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Generic (YamlSpec b) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep (YamlSpec b) 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep (YamlSpec b) = D1 ('MetaData "YamlSpec" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlSpec" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AppName) :*: S1 ('MetaSel ('Just "sqlFolder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :*: (S1 ('MetaSel ('Just "connectionURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConnectionString) :*: S1 ('MetaSel ('Just "metadataConnectionURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ConnectionString)))) :*: ((S1 ('MetaSel ('Just "tableSpecs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName (YamlTableSpec b))) :*: S1 ('MetaSel ('Just "backend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DbBackendOptions b))) :*: (S1 ('MetaSel ('Just "parserDialect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SQLDialect) :*: (S1 ('MetaSel ('Just "specPreprocessors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [YamlPreprocessor b]) :*: S1 ('MetaSel ('Just "validator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed CustomValidator ModuleFunction))))))) :*: (((S1 ('MetaSel ('Just "haskellPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HaskellPackage)) :*: S1 ('MetaSel ('Just "haskellFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set FilePath))) :*: (S1 ('MetaSel ('Just "extraHaskellDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Package)) :*: S1 ('MetaSel ('Just "defaultHaskellLanguageExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set YamlHaskellExtension)))) :*: ((S1 ('MetaSel ('Just "extraHaskellModules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Module]) :*: S1 ('MetaSel ('Just "haskellSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed (Spec b ()) ModuleFunction)))) :*: (S1 ('MetaSel ('Just "functionMacros") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed ExternMacros ModuleFunction))) :*: (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text YamlArgument)) :*: S1 ('MetaSel ('Just "externalTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))))))))

Methods

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

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

type Rep (YamlSpec b) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep (YamlSpec b) = D1 ('MetaData "YamlSpec" "Napkin.Spec.Yaml.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "YamlSpec" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AppName) :*: S1 ('MetaSel ('Just "sqlFolder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :*: (S1 ('MetaSel ('Just "connectionURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConnectionString) :*: S1 ('MetaSel ('Just "metadataConnectionURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ConnectionString)))) :*: ((S1 ('MetaSel ('Just "tableSpecs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName (YamlTableSpec b))) :*: S1 ('MetaSel ('Just "backend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DbBackendOptions b))) :*: (S1 ('MetaSel ('Just "parserDialect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SQLDialect) :*: (S1 ('MetaSel ('Just "specPreprocessors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [YamlPreprocessor b]) :*: S1 ('MetaSel ('Just "validator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed CustomValidator ModuleFunction))))))) :*: (((S1 ('MetaSel ('Just "haskellPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HaskellPackage)) :*: S1 ('MetaSel ('Just "haskellFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set FilePath))) :*: (S1 ('MetaSel ('Just "extraHaskellDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Package)) :*: S1 ('MetaSel ('Just "defaultHaskellLanguageExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set YamlHaskellExtension)))) :*: ((S1 ('MetaSel ('Just "extraHaskellModules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Module]) :*: S1 ('MetaSel ('Just "haskellSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed (Spec b ()) ModuleFunction)))) :*: (S1 ('MetaSel ('Just "functionMacros") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Typed ExternMacros ModuleFunction))) :*: (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text YamlArgument)) :*: S1 ('MetaSel ('Just "externalTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))))))))

data YamlTableSpec b #

Instances

Instances details
Generic (YamlTableSpec b) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep (YamlTableSpec b) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Orphan instances