napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Metadata.Actions

Synopsis

Documentation

createGetSpecRunEntry :: (MonadIO m, MonadMetadataDb metaBk m) => UTCTime -> AppName -> Pipeline -> SpecRunId -> SpecTableName -> DepChain -> m SpecRunEntryId #

create or get spec run entry

recordRunSuccess :: forall {k} (b :: k) metaBk m. (MonadMetadataDb metaBk m, ToJSON (BackendQueryStats b), Typeable b, ToDbBackend b) => UTCTime -> SpecRunEntryId -> Maybe (CreateQueryStats b) -> Maybe (HookQueryStats b) -> m () #

recordHookSuccess :: forall {k} (b :: k) metaBk m. (MonadMetadataDb metaBk m, ToJSON (BackendQueryStats b), Typeable b, ToDbBackend b) => UTCTime -> SpecRunEntryId -> HookQueryStats b -> m () #

recordHookError :: forall {k} (b :: k) metaBk m. (MonadMetadataDb metaBk m, ToJSON (BackendQueryStats b), Typeable b, ToDbBackend b) => UTCTime -> SpecRunEntryId -> HookQueryStats b -> NonEmpty AssertionEntry -> m () #