Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- newtype SpecState = SpecState {}
- newtype Pennies = Pennies Int64
- newtype SpecRunId = SpecRunId UUID
- data SpecRunT f = SpecRun {
- srEntryId :: C f UUID
- srApp :: C f AppName
- srPipeline :: C f Pipeline
- srRunId :: C f SpecRunId
- srTable :: C f SpecTableName
- srStarted :: C f UTCTime
- srComplete :: C f (Maybe UTCTime)
- srAction :: C f (Maybe Text)
- srError :: C f (Maybe Text)
- srRowsAffected :: C f (Maybe Int64)
- srServerTime :: C f (Maybe Int64)
- srHookRowsAffected :: C f (Maybe Int64)
- srHookServerTime :: C f (Maybe Int64)
- srDependencies :: C f (Maybe DepChain)
- srBackend :: C f (Maybe Text)
- srBackendStats :: C f (Maybe BkStatistics)
- srHookBackendStats :: C f (Maybe BkStatistics)
- type SpecRun = SpecRunT Identity
- data SpecTarget
- ssTables :: Iso' SpecState (Map SpecTableName SpecRun)
Documentation
Instances
Generic SpecState # | |
Show SpecState # | |
Default SpecState # | |
Defined in Napkin.Metadata.Types.SpecRun | |
Eq SpecState # | |
type Rep SpecState # | |
Defined in Napkin.Metadata.Types.SpecRun type Rep SpecState = D1 ('MetaData "SpecState" "Napkin.Metadata.Types.SpecRun" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'True) (C1 ('MetaCons "SpecState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ssTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName SpecRun)))) |
Instances
Each run of the spec for a table is captured
Instances
SpecRun | |
|
Instances
data SpecTarget #
Instances
Data SpecTarget # | |
Defined in Napkin.Metadata.Types.SpecRun gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpecTarget -> c SpecTarget # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpecTarget # toConstr :: SpecTarget -> Constr # dataTypeOf :: SpecTarget -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpecTarget) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpecTarget) # gmapT :: (forall b. Data b => b -> b) -> SpecTarget -> SpecTarget # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpecTarget -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpecTarget -> r # gmapQ :: (forall d. Data d => d -> u) -> SpecTarget -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SpecTarget -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget # | |
Show SpecTarget # | |
Defined in Napkin.Metadata.Types.SpecRun showsPrec :: Int -> SpecTarget -> ShowS # show :: SpecTarget -> String # showList :: [SpecTarget] -> ShowS # | |
Eq SpecTarget # | |
Defined in Napkin.Metadata.Types.SpecRun (==) :: SpecTarget -> SpecTarget -> Bool # (/=) :: SpecTarget -> SpecTarget -> Bool # |