{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE DuplicateRecordFields #-} module Hercules.API.Build.DerivationEvent where import Data.Aeson.Types (FromJSON (..), ToJSON (..), genericParseJSON, genericToEncoding, genericToJSON) import Data.OpenApi qualified as O3 import Hercules.API.Accounts.SimpleAccount (SimpleAccount) import Hercules.API.Build.DerivationEvent.BuiltOutput import Hercules.API.Prelude import Hercules.API.Projects.SimpleJob (SimpleJob) data DerivationEvent = Queued DerivationEventQueued | DependencyFailed DerivationEventDependencyFailed | Started DerivationEventStarted | Reset DerivationEventReset | Failed DerivationEventFailed | Succeeded DerivationEventSucceeded | Cancelled DerivationEventCancelled | ForceCancelled DerivationEventForceCancelled | Built DerivationEventBuilt | HasCancelled DerivationEventHasCancelled | HasCancelledForReset DerivationEventHasCancelledForReset deriving ((forall x. DerivationEvent -> Rep DerivationEvent x) -> (forall x. Rep DerivationEvent x -> DerivationEvent) -> Generic DerivationEvent forall x. Rep DerivationEvent x -> DerivationEvent forall x. DerivationEvent -> Rep DerivationEvent x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEvent -> Rep DerivationEvent x from :: forall x. DerivationEvent -> Rep DerivationEvent x $cto :: forall x. Rep DerivationEvent x -> DerivationEvent to :: forall x. Rep DerivationEvent x -> DerivationEvent Generic, Int -> DerivationEvent -> ShowS [DerivationEvent] -> ShowS DerivationEvent -> String (Int -> DerivationEvent -> ShowS) -> (DerivationEvent -> String) -> ([DerivationEvent] -> ShowS) -> Show DerivationEvent forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEvent -> ShowS showsPrec :: Int -> DerivationEvent -> ShowS $cshow :: DerivationEvent -> String show :: DerivationEvent -> String $cshowList :: [DerivationEvent] -> ShowS showList :: [DerivationEvent] -> ShowS Show, DerivationEvent -> DerivationEvent -> Bool (DerivationEvent -> DerivationEvent -> Bool) -> (DerivationEvent -> DerivationEvent -> Bool) -> Eq DerivationEvent forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEvent -> DerivationEvent -> Bool == :: DerivationEvent -> DerivationEvent -> Bool $c/= :: DerivationEvent -> DerivationEvent -> Bool /= :: DerivationEvent -> DerivationEvent -> Bool Eq, DerivationEvent -> () (DerivationEvent -> ()) -> NFData DerivationEvent forall a. (a -> ()) -> NFData a $crnf :: DerivationEvent -> () rnf :: DerivationEvent -> () NFData, Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEvent forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEvent Typeable DerivationEvent -> (Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEvent Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEvent -> Declare (Definitions Schema) NamedSchema O3.ToSchema) instance FromJSON DerivationEvent where parseJSON :: Value -> Parser DerivationEvent parseJSON = Options -> Value -> Parser DerivationEvent forall a. (Generic a, GFromJSON Zero (Rep a)) => Options -> Value -> Parser a genericParseJSON Options schemaCompatibleOptions instance ToJSON DerivationEvent where toJSON :: DerivationEvent -> Value toJSON = Options -> DerivationEvent -> Value forall a. (Generic a, GToJSON' Value Zero (Rep a)) => Options -> a -> Value genericToJSON Options schemaCompatibleOptions toEncoding :: DerivationEvent -> Encoding toEncoding = Options -> DerivationEvent -> Encoding forall a. (Generic a, GToJSON' Encoding Zero (Rep a)) => Options -> a -> Encoding genericToEncoding Options schemaCompatibleOptions eventTime :: DerivationEvent -> UTCTime eventTime :: DerivationEvent -> UTCTime eventTime (Queued (DerivationEventQueued {$sel:time:DerivationEventQueued :: DerivationEventQueued -> UTCTime time = UTCTime t})) = UTCTime t eventTime (DependencyFailed (DerivationEventDependencyFailed {$sel:time:DerivationEventDependencyFailed :: DerivationEventDependencyFailed -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Started (DerivationEventStarted {$sel:time:DerivationEventStarted :: DerivationEventStarted -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Reset (DerivationEventReset {$sel:time:DerivationEventReset :: DerivationEventReset -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Failed (DerivationEventFailed {$sel:time:DerivationEventFailed :: DerivationEventFailed -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Succeeded (DerivationEventSucceeded {$sel:time:DerivationEventSucceeded :: DerivationEventSucceeded -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Cancelled (DerivationEventCancelled {$sel:time:DerivationEventCancelled :: DerivationEventCancelled -> UTCTime time = UTCTime t})) = UTCTime t eventTime (ForceCancelled (DerivationEventForceCancelled {$sel:time:DerivationEventForceCancelled :: DerivationEventForceCancelled -> UTCTime time = UTCTime t})) = UTCTime t eventTime (Built (DerivationEventBuilt {$sel:time:DerivationEventBuilt :: DerivationEventBuilt -> UTCTime time = UTCTime t})) = UTCTime t eventTime (HasCancelled (DerivationEventHasCancelled {$sel:time:DerivationEventHasCancelled :: DerivationEventHasCancelled -> UTCTime time = UTCTime t})) = UTCTime t eventTime (HasCancelledForReset (DerivationEventHasCancelledForReset {$sel:time:DerivationEventHasCancelledForReset :: DerivationEventHasCancelledForReset -> UTCTime time = UTCTime t})) = UTCTime t data DerivationEventQueued = DerivationEventQueued { DerivationEventQueued -> UTCTime time :: UTCTime, DerivationEventQueued -> Maybe SimpleJob requeuedForEvalOfJob :: Maybe SimpleJob, DerivationEventQueued -> Maybe Text requeuedForAgent :: Maybe Text } deriving ((forall x. DerivationEventQueued -> Rep DerivationEventQueued x) -> (forall x. Rep DerivationEventQueued x -> DerivationEventQueued) -> Generic DerivationEventQueued forall x. Rep DerivationEventQueued x -> DerivationEventQueued forall x. DerivationEventQueued -> Rep DerivationEventQueued x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventQueued -> Rep DerivationEventQueued x from :: forall x. DerivationEventQueued -> Rep DerivationEventQueued x $cto :: forall x. Rep DerivationEventQueued x -> DerivationEventQueued to :: forall x. Rep DerivationEventQueued x -> DerivationEventQueued Generic, Int -> DerivationEventQueued -> ShowS [DerivationEventQueued] -> ShowS DerivationEventQueued -> String (Int -> DerivationEventQueued -> ShowS) -> (DerivationEventQueued -> String) -> ([DerivationEventQueued] -> ShowS) -> Show DerivationEventQueued forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventQueued -> ShowS showsPrec :: Int -> DerivationEventQueued -> ShowS $cshow :: DerivationEventQueued -> String show :: DerivationEventQueued -> String $cshowList :: [DerivationEventQueued] -> ShowS showList :: [DerivationEventQueued] -> ShowS Show, DerivationEventQueued -> DerivationEventQueued -> Bool (DerivationEventQueued -> DerivationEventQueued -> Bool) -> (DerivationEventQueued -> DerivationEventQueued -> Bool) -> Eq DerivationEventQueued forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventQueued -> DerivationEventQueued -> Bool == :: DerivationEventQueued -> DerivationEventQueued -> Bool $c/= :: DerivationEventQueued -> DerivationEventQueued -> Bool /= :: DerivationEventQueued -> DerivationEventQueued -> Bool Eq) deriving anyclass (DerivationEventQueued -> () (DerivationEventQueued -> ()) -> NFData DerivationEventQueued forall a. (a -> ()) -> NFData a $crnf :: DerivationEventQueued -> () rnf :: DerivationEventQueued -> () NFData, [DerivationEventQueued] -> Value [DerivationEventQueued] -> Encoding DerivationEventQueued -> Value DerivationEventQueued -> Encoding (DerivationEventQueued -> Value) -> (DerivationEventQueued -> Encoding) -> ([DerivationEventQueued] -> Value) -> ([DerivationEventQueued] -> Encoding) -> ToJSON DerivationEventQueued forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventQueued -> Value toJSON :: DerivationEventQueued -> Value $ctoEncoding :: DerivationEventQueued -> Encoding toEncoding :: DerivationEventQueued -> Encoding $ctoJSONList :: [DerivationEventQueued] -> Value toJSONList :: [DerivationEventQueued] -> Value $ctoEncodingList :: [DerivationEventQueued] -> Encoding toEncodingList :: [DerivationEventQueued] -> Encoding ToJSON, Value -> Parser [DerivationEventQueued] Value -> Parser DerivationEventQueued (Value -> Parser DerivationEventQueued) -> (Value -> Parser [DerivationEventQueued]) -> FromJSON DerivationEventQueued forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventQueued parseJSON :: Value -> Parser DerivationEventQueued $cparseJSONList :: Value -> Parser [DerivationEventQueued] parseJSONList :: Value -> Parser [DerivationEventQueued] FromJSON, Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventQueued forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventQueued Typeable DerivationEventQueued -> (Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventQueued Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventQueued -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventDependencyFailed = DerivationEventDependencyFailed { DerivationEventDependencyFailed -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventDependencyFailed -> Rep DerivationEventDependencyFailed x) -> (forall x. Rep DerivationEventDependencyFailed x -> DerivationEventDependencyFailed) -> Generic DerivationEventDependencyFailed forall x. Rep DerivationEventDependencyFailed x -> DerivationEventDependencyFailed forall x. DerivationEventDependencyFailed -> Rep DerivationEventDependencyFailed x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventDependencyFailed -> Rep DerivationEventDependencyFailed x from :: forall x. DerivationEventDependencyFailed -> Rep DerivationEventDependencyFailed x $cto :: forall x. Rep DerivationEventDependencyFailed x -> DerivationEventDependencyFailed to :: forall x. Rep DerivationEventDependencyFailed x -> DerivationEventDependencyFailed Generic, Int -> DerivationEventDependencyFailed -> ShowS [DerivationEventDependencyFailed] -> ShowS DerivationEventDependencyFailed -> String (Int -> DerivationEventDependencyFailed -> ShowS) -> (DerivationEventDependencyFailed -> String) -> ([DerivationEventDependencyFailed] -> ShowS) -> Show DerivationEventDependencyFailed forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventDependencyFailed -> ShowS showsPrec :: Int -> DerivationEventDependencyFailed -> ShowS $cshow :: DerivationEventDependencyFailed -> String show :: DerivationEventDependencyFailed -> String $cshowList :: [DerivationEventDependencyFailed] -> ShowS showList :: [DerivationEventDependencyFailed] -> ShowS Show, DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool (DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool) -> (DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool) -> Eq DerivationEventDependencyFailed forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool == :: DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool $c/= :: DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool /= :: DerivationEventDependencyFailed -> DerivationEventDependencyFailed -> Bool Eq) deriving anyclass (DerivationEventDependencyFailed -> () (DerivationEventDependencyFailed -> ()) -> NFData DerivationEventDependencyFailed forall a. (a -> ()) -> NFData a $crnf :: DerivationEventDependencyFailed -> () rnf :: DerivationEventDependencyFailed -> () NFData, [DerivationEventDependencyFailed] -> Value [DerivationEventDependencyFailed] -> Encoding DerivationEventDependencyFailed -> Value DerivationEventDependencyFailed -> Encoding (DerivationEventDependencyFailed -> Value) -> (DerivationEventDependencyFailed -> Encoding) -> ([DerivationEventDependencyFailed] -> Value) -> ([DerivationEventDependencyFailed] -> Encoding) -> ToJSON DerivationEventDependencyFailed forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventDependencyFailed -> Value toJSON :: DerivationEventDependencyFailed -> Value $ctoEncoding :: DerivationEventDependencyFailed -> Encoding toEncoding :: DerivationEventDependencyFailed -> Encoding $ctoJSONList :: [DerivationEventDependencyFailed] -> Value toJSONList :: [DerivationEventDependencyFailed] -> Value $ctoEncodingList :: [DerivationEventDependencyFailed] -> Encoding toEncodingList :: [DerivationEventDependencyFailed] -> Encoding ToJSON, Value -> Parser [DerivationEventDependencyFailed] Value -> Parser DerivationEventDependencyFailed (Value -> Parser DerivationEventDependencyFailed) -> (Value -> Parser [DerivationEventDependencyFailed]) -> FromJSON DerivationEventDependencyFailed forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventDependencyFailed parseJSON :: Value -> Parser DerivationEventDependencyFailed $cparseJSONList :: Value -> Parser [DerivationEventDependencyFailed] parseJSONList :: Value -> Parser [DerivationEventDependencyFailed] FromJSON, Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventDependencyFailed forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventDependencyFailed Typeable DerivationEventDependencyFailed -> (Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventDependencyFailed Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventDependencyFailed -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventStarted = DerivationEventStarted { DerivationEventStarted -> UTCTime time :: UTCTime, DerivationEventStarted -> Id "log" logId :: Id "log", DerivationEventStarted -> Maybe Text agentHostname :: Maybe Text, DerivationEventStarted -> Bool streamable :: Bool } deriving ((forall x. DerivationEventStarted -> Rep DerivationEventStarted x) -> (forall x. Rep DerivationEventStarted x -> DerivationEventStarted) -> Generic DerivationEventStarted forall x. Rep DerivationEventStarted x -> DerivationEventStarted forall x. DerivationEventStarted -> Rep DerivationEventStarted x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventStarted -> Rep DerivationEventStarted x from :: forall x. DerivationEventStarted -> Rep DerivationEventStarted x $cto :: forall x. Rep DerivationEventStarted x -> DerivationEventStarted to :: forall x. Rep DerivationEventStarted x -> DerivationEventStarted Generic, Int -> DerivationEventStarted -> ShowS [DerivationEventStarted] -> ShowS DerivationEventStarted -> String (Int -> DerivationEventStarted -> ShowS) -> (DerivationEventStarted -> String) -> ([DerivationEventStarted] -> ShowS) -> Show DerivationEventStarted forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventStarted -> ShowS showsPrec :: Int -> DerivationEventStarted -> ShowS $cshow :: DerivationEventStarted -> String show :: DerivationEventStarted -> String $cshowList :: [DerivationEventStarted] -> ShowS showList :: [DerivationEventStarted] -> ShowS Show, DerivationEventStarted -> DerivationEventStarted -> Bool (DerivationEventStarted -> DerivationEventStarted -> Bool) -> (DerivationEventStarted -> DerivationEventStarted -> Bool) -> Eq DerivationEventStarted forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventStarted -> DerivationEventStarted -> Bool == :: DerivationEventStarted -> DerivationEventStarted -> Bool $c/= :: DerivationEventStarted -> DerivationEventStarted -> Bool /= :: DerivationEventStarted -> DerivationEventStarted -> Bool Eq) deriving anyclass (DerivationEventStarted -> () (DerivationEventStarted -> ()) -> NFData DerivationEventStarted forall a. (a -> ()) -> NFData a $crnf :: DerivationEventStarted -> () rnf :: DerivationEventStarted -> () NFData, [DerivationEventStarted] -> Value [DerivationEventStarted] -> Encoding DerivationEventStarted -> Value DerivationEventStarted -> Encoding (DerivationEventStarted -> Value) -> (DerivationEventStarted -> Encoding) -> ([DerivationEventStarted] -> Value) -> ([DerivationEventStarted] -> Encoding) -> ToJSON DerivationEventStarted forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventStarted -> Value toJSON :: DerivationEventStarted -> Value $ctoEncoding :: DerivationEventStarted -> Encoding toEncoding :: DerivationEventStarted -> Encoding $ctoJSONList :: [DerivationEventStarted] -> Value toJSONList :: [DerivationEventStarted] -> Value $ctoEncodingList :: [DerivationEventStarted] -> Encoding toEncodingList :: [DerivationEventStarted] -> Encoding ToJSON, Value -> Parser [DerivationEventStarted] Value -> Parser DerivationEventStarted (Value -> Parser DerivationEventStarted) -> (Value -> Parser [DerivationEventStarted]) -> FromJSON DerivationEventStarted forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventStarted parseJSON :: Value -> Parser DerivationEventStarted $cparseJSONList :: Value -> Parser [DerivationEventStarted] parseJSONList :: Value -> Parser [DerivationEventStarted] FromJSON, Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventStarted forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventStarted Typeable DerivationEventStarted -> (Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventStarted Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventStarted -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventReset = DerivationEventReset { DerivationEventReset -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventReset -> Rep DerivationEventReset x) -> (forall x. Rep DerivationEventReset x -> DerivationEventReset) -> Generic DerivationEventReset forall x. Rep DerivationEventReset x -> DerivationEventReset forall x. DerivationEventReset -> Rep DerivationEventReset x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventReset -> Rep DerivationEventReset x from :: forall x. DerivationEventReset -> Rep DerivationEventReset x $cto :: forall x. Rep DerivationEventReset x -> DerivationEventReset to :: forall x. Rep DerivationEventReset x -> DerivationEventReset Generic, Int -> DerivationEventReset -> ShowS [DerivationEventReset] -> ShowS DerivationEventReset -> String (Int -> DerivationEventReset -> ShowS) -> (DerivationEventReset -> String) -> ([DerivationEventReset] -> ShowS) -> Show DerivationEventReset forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventReset -> ShowS showsPrec :: Int -> DerivationEventReset -> ShowS $cshow :: DerivationEventReset -> String show :: DerivationEventReset -> String $cshowList :: [DerivationEventReset] -> ShowS showList :: [DerivationEventReset] -> ShowS Show, DerivationEventReset -> DerivationEventReset -> Bool (DerivationEventReset -> DerivationEventReset -> Bool) -> (DerivationEventReset -> DerivationEventReset -> Bool) -> Eq DerivationEventReset forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventReset -> DerivationEventReset -> Bool == :: DerivationEventReset -> DerivationEventReset -> Bool $c/= :: DerivationEventReset -> DerivationEventReset -> Bool /= :: DerivationEventReset -> DerivationEventReset -> Bool Eq) deriving anyclass (DerivationEventReset -> () (DerivationEventReset -> ()) -> NFData DerivationEventReset forall a. (a -> ()) -> NFData a $crnf :: DerivationEventReset -> () rnf :: DerivationEventReset -> () NFData, [DerivationEventReset] -> Value [DerivationEventReset] -> Encoding DerivationEventReset -> Value DerivationEventReset -> Encoding (DerivationEventReset -> Value) -> (DerivationEventReset -> Encoding) -> ([DerivationEventReset] -> Value) -> ([DerivationEventReset] -> Encoding) -> ToJSON DerivationEventReset forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventReset -> Value toJSON :: DerivationEventReset -> Value $ctoEncoding :: DerivationEventReset -> Encoding toEncoding :: DerivationEventReset -> Encoding $ctoJSONList :: [DerivationEventReset] -> Value toJSONList :: [DerivationEventReset] -> Value $ctoEncodingList :: [DerivationEventReset] -> Encoding toEncodingList :: [DerivationEventReset] -> Encoding ToJSON, Value -> Parser [DerivationEventReset] Value -> Parser DerivationEventReset (Value -> Parser DerivationEventReset) -> (Value -> Parser [DerivationEventReset]) -> FromJSON DerivationEventReset forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventReset parseJSON :: Value -> Parser DerivationEventReset $cparseJSONList :: Value -> Parser [DerivationEventReset] parseJSONList :: Value -> Parser [DerivationEventReset] FromJSON, Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventReset forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventReset Typeable DerivationEventReset -> (Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventReset Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventReset -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventFailed = DerivationEventFailed { DerivationEventFailed -> UTCTime time :: UTCTime, DerivationEventFailed -> Maybe Text technicalError :: Maybe Text } deriving ((forall x. DerivationEventFailed -> Rep DerivationEventFailed x) -> (forall x. Rep DerivationEventFailed x -> DerivationEventFailed) -> Generic DerivationEventFailed forall x. Rep DerivationEventFailed x -> DerivationEventFailed forall x. DerivationEventFailed -> Rep DerivationEventFailed x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventFailed -> Rep DerivationEventFailed x from :: forall x. DerivationEventFailed -> Rep DerivationEventFailed x $cto :: forall x. Rep DerivationEventFailed x -> DerivationEventFailed to :: forall x. Rep DerivationEventFailed x -> DerivationEventFailed Generic, Int -> DerivationEventFailed -> ShowS [DerivationEventFailed] -> ShowS DerivationEventFailed -> String (Int -> DerivationEventFailed -> ShowS) -> (DerivationEventFailed -> String) -> ([DerivationEventFailed] -> ShowS) -> Show DerivationEventFailed forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventFailed -> ShowS showsPrec :: Int -> DerivationEventFailed -> ShowS $cshow :: DerivationEventFailed -> String show :: DerivationEventFailed -> String $cshowList :: [DerivationEventFailed] -> ShowS showList :: [DerivationEventFailed] -> ShowS Show, DerivationEventFailed -> DerivationEventFailed -> Bool (DerivationEventFailed -> DerivationEventFailed -> Bool) -> (DerivationEventFailed -> DerivationEventFailed -> Bool) -> Eq DerivationEventFailed forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventFailed -> DerivationEventFailed -> Bool == :: DerivationEventFailed -> DerivationEventFailed -> Bool $c/= :: DerivationEventFailed -> DerivationEventFailed -> Bool /= :: DerivationEventFailed -> DerivationEventFailed -> Bool Eq) deriving anyclass (DerivationEventFailed -> () (DerivationEventFailed -> ()) -> NFData DerivationEventFailed forall a. (a -> ()) -> NFData a $crnf :: DerivationEventFailed -> () rnf :: DerivationEventFailed -> () NFData, [DerivationEventFailed] -> Value [DerivationEventFailed] -> Encoding DerivationEventFailed -> Value DerivationEventFailed -> Encoding (DerivationEventFailed -> Value) -> (DerivationEventFailed -> Encoding) -> ([DerivationEventFailed] -> Value) -> ([DerivationEventFailed] -> Encoding) -> ToJSON DerivationEventFailed forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventFailed -> Value toJSON :: DerivationEventFailed -> Value $ctoEncoding :: DerivationEventFailed -> Encoding toEncoding :: DerivationEventFailed -> Encoding $ctoJSONList :: [DerivationEventFailed] -> Value toJSONList :: [DerivationEventFailed] -> Value $ctoEncodingList :: [DerivationEventFailed] -> Encoding toEncodingList :: [DerivationEventFailed] -> Encoding ToJSON, Value -> Parser [DerivationEventFailed] Value -> Parser DerivationEventFailed (Value -> Parser DerivationEventFailed) -> (Value -> Parser [DerivationEventFailed]) -> FromJSON DerivationEventFailed forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventFailed parseJSON :: Value -> Parser DerivationEventFailed $cparseJSONList :: Value -> Parser [DerivationEventFailed] parseJSONList :: Value -> Parser [DerivationEventFailed] FromJSON, Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventFailed forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventFailed Typeable DerivationEventFailed -> (Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventFailed Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventFailed -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventSucceeded = DerivationEventSucceeded { DerivationEventSucceeded -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventSucceeded -> Rep DerivationEventSucceeded x) -> (forall x. Rep DerivationEventSucceeded x -> DerivationEventSucceeded) -> Generic DerivationEventSucceeded forall x. Rep DerivationEventSucceeded x -> DerivationEventSucceeded forall x. DerivationEventSucceeded -> Rep DerivationEventSucceeded x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventSucceeded -> Rep DerivationEventSucceeded x from :: forall x. DerivationEventSucceeded -> Rep DerivationEventSucceeded x $cto :: forall x. Rep DerivationEventSucceeded x -> DerivationEventSucceeded to :: forall x. Rep DerivationEventSucceeded x -> DerivationEventSucceeded Generic, Int -> DerivationEventSucceeded -> ShowS [DerivationEventSucceeded] -> ShowS DerivationEventSucceeded -> String (Int -> DerivationEventSucceeded -> ShowS) -> (DerivationEventSucceeded -> String) -> ([DerivationEventSucceeded] -> ShowS) -> Show DerivationEventSucceeded forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventSucceeded -> ShowS showsPrec :: Int -> DerivationEventSucceeded -> ShowS $cshow :: DerivationEventSucceeded -> String show :: DerivationEventSucceeded -> String $cshowList :: [DerivationEventSucceeded] -> ShowS showList :: [DerivationEventSucceeded] -> ShowS Show, DerivationEventSucceeded -> DerivationEventSucceeded -> Bool (DerivationEventSucceeded -> DerivationEventSucceeded -> Bool) -> (DerivationEventSucceeded -> DerivationEventSucceeded -> Bool) -> Eq DerivationEventSucceeded forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventSucceeded -> DerivationEventSucceeded -> Bool == :: DerivationEventSucceeded -> DerivationEventSucceeded -> Bool $c/= :: DerivationEventSucceeded -> DerivationEventSucceeded -> Bool /= :: DerivationEventSucceeded -> DerivationEventSucceeded -> Bool Eq) deriving anyclass (DerivationEventSucceeded -> () (DerivationEventSucceeded -> ()) -> NFData DerivationEventSucceeded forall a. (a -> ()) -> NFData a $crnf :: DerivationEventSucceeded -> () rnf :: DerivationEventSucceeded -> () NFData, [DerivationEventSucceeded] -> Value [DerivationEventSucceeded] -> Encoding DerivationEventSucceeded -> Value DerivationEventSucceeded -> Encoding (DerivationEventSucceeded -> Value) -> (DerivationEventSucceeded -> Encoding) -> ([DerivationEventSucceeded] -> Value) -> ([DerivationEventSucceeded] -> Encoding) -> ToJSON DerivationEventSucceeded forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventSucceeded -> Value toJSON :: DerivationEventSucceeded -> Value $ctoEncoding :: DerivationEventSucceeded -> Encoding toEncoding :: DerivationEventSucceeded -> Encoding $ctoJSONList :: [DerivationEventSucceeded] -> Value toJSONList :: [DerivationEventSucceeded] -> Value $ctoEncodingList :: [DerivationEventSucceeded] -> Encoding toEncodingList :: [DerivationEventSucceeded] -> Encoding ToJSON, Value -> Parser [DerivationEventSucceeded] Value -> Parser DerivationEventSucceeded (Value -> Parser DerivationEventSucceeded) -> (Value -> Parser [DerivationEventSucceeded]) -> FromJSON DerivationEventSucceeded forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventSucceeded parseJSON :: Value -> Parser DerivationEventSucceeded $cparseJSONList :: Value -> Parser [DerivationEventSucceeded] parseJSONList :: Value -> Parser [DerivationEventSucceeded] FromJSON, Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventSucceeded forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventSucceeded Typeable DerivationEventSucceeded -> (Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventSucceeded Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventSucceeded -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventCancelled = DerivationEventCancelled { DerivationEventCancelled -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventCancelled -> Rep DerivationEventCancelled x) -> (forall x. Rep DerivationEventCancelled x -> DerivationEventCancelled) -> Generic DerivationEventCancelled forall x. Rep DerivationEventCancelled x -> DerivationEventCancelled forall x. DerivationEventCancelled -> Rep DerivationEventCancelled x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventCancelled -> Rep DerivationEventCancelled x from :: forall x. DerivationEventCancelled -> Rep DerivationEventCancelled x $cto :: forall x. Rep DerivationEventCancelled x -> DerivationEventCancelled to :: forall x. Rep DerivationEventCancelled x -> DerivationEventCancelled Generic, Int -> DerivationEventCancelled -> ShowS [DerivationEventCancelled] -> ShowS DerivationEventCancelled -> String (Int -> DerivationEventCancelled -> ShowS) -> (DerivationEventCancelled -> String) -> ([DerivationEventCancelled] -> ShowS) -> Show DerivationEventCancelled forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventCancelled -> ShowS showsPrec :: Int -> DerivationEventCancelled -> ShowS $cshow :: DerivationEventCancelled -> String show :: DerivationEventCancelled -> String $cshowList :: [DerivationEventCancelled] -> ShowS showList :: [DerivationEventCancelled] -> ShowS Show, DerivationEventCancelled -> DerivationEventCancelled -> Bool (DerivationEventCancelled -> DerivationEventCancelled -> Bool) -> (DerivationEventCancelled -> DerivationEventCancelled -> Bool) -> Eq DerivationEventCancelled forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventCancelled -> DerivationEventCancelled -> Bool == :: DerivationEventCancelled -> DerivationEventCancelled -> Bool $c/= :: DerivationEventCancelled -> DerivationEventCancelled -> Bool /= :: DerivationEventCancelled -> DerivationEventCancelled -> Bool Eq) deriving anyclass (DerivationEventCancelled -> () (DerivationEventCancelled -> ()) -> NFData DerivationEventCancelled forall a. (a -> ()) -> NFData a $crnf :: DerivationEventCancelled -> () rnf :: DerivationEventCancelled -> () NFData, [DerivationEventCancelled] -> Value [DerivationEventCancelled] -> Encoding DerivationEventCancelled -> Value DerivationEventCancelled -> Encoding (DerivationEventCancelled -> Value) -> (DerivationEventCancelled -> Encoding) -> ([DerivationEventCancelled] -> Value) -> ([DerivationEventCancelled] -> Encoding) -> ToJSON DerivationEventCancelled forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventCancelled -> Value toJSON :: DerivationEventCancelled -> Value $ctoEncoding :: DerivationEventCancelled -> Encoding toEncoding :: DerivationEventCancelled -> Encoding $ctoJSONList :: [DerivationEventCancelled] -> Value toJSONList :: [DerivationEventCancelled] -> Value $ctoEncodingList :: [DerivationEventCancelled] -> Encoding toEncodingList :: [DerivationEventCancelled] -> Encoding ToJSON, Value -> Parser [DerivationEventCancelled] Value -> Parser DerivationEventCancelled (Value -> Parser DerivationEventCancelled) -> (Value -> Parser [DerivationEventCancelled]) -> FromJSON DerivationEventCancelled forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventCancelled parseJSON :: Value -> Parser DerivationEventCancelled $cparseJSONList :: Value -> Parser [DerivationEventCancelled] parseJSONList :: Value -> Parser [DerivationEventCancelled] FromJSON, Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventCancelled forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventCancelled Typeable DerivationEventCancelled -> (Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventCancelled Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventCancelled -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventForceCancelled = DerivationEventForceCancelled { DerivationEventForceCancelled -> UTCTime time :: UTCTime, DerivationEventForceCancelled -> Maybe SimpleAccount byUser :: Maybe SimpleAccount } deriving ((forall x. DerivationEventForceCancelled -> Rep DerivationEventForceCancelled x) -> (forall x. Rep DerivationEventForceCancelled x -> DerivationEventForceCancelled) -> Generic DerivationEventForceCancelled forall x. Rep DerivationEventForceCancelled x -> DerivationEventForceCancelled forall x. DerivationEventForceCancelled -> Rep DerivationEventForceCancelled x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventForceCancelled -> Rep DerivationEventForceCancelled x from :: forall x. DerivationEventForceCancelled -> Rep DerivationEventForceCancelled x $cto :: forall x. Rep DerivationEventForceCancelled x -> DerivationEventForceCancelled to :: forall x. Rep DerivationEventForceCancelled x -> DerivationEventForceCancelled Generic, Int -> DerivationEventForceCancelled -> ShowS [DerivationEventForceCancelled] -> ShowS DerivationEventForceCancelled -> String (Int -> DerivationEventForceCancelled -> ShowS) -> (DerivationEventForceCancelled -> String) -> ([DerivationEventForceCancelled] -> ShowS) -> Show DerivationEventForceCancelled forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventForceCancelled -> ShowS showsPrec :: Int -> DerivationEventForceCancelled -> ShowS $cshow :: DerivationEventForceCancelled -> String show :: DerivationEventForceCancelled -> String $cshowList :: [DerivationEventForceCancelled] -> ShowS showList :: [DerivationEventForceCancelled] -> ShowS Show, DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool (DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool) -> (DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool) -> Eq DerivationEventForceCancelled forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool == :: DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool $c/= :: DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool /= :: DerivationEventForceCancelled -> DerivationEventForceCancelled -> Bool Eq) deriving anyclass (DerivationEventForceCancelled -> () (DerivationEventForceCancelled -> ()) -> NFData DerivationEventForceCancelled forall a. (a -> ()) -> NFData a $crnf :: DerivationEventForceCancelled -> () rnf :: DerivationEventForceCancelled -> () NFData, [DerivationEventForceCancelled] -> Value [DerivationEventForceCancelled] -> Encoding DerivationEventForceCancelled -> Value DerivationEventForceCancelled -> Encoding (DerivationEventForceCancelled -> Value) -> (DerivationEventForceCancelled -> Encoding) -> ([DerivationEventForceCancelled] -> Value) -> ([DerivationEventForceCancelled] -> Encoding) -> ToJSON DerivationEventForceCancelled forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventForceCancelled -> Value toJSON :: DerivationEventForceCancelled -> Value $ctoEncoding :: DerivationEventForceCancelled -> Encoding toEncoding :: DerivationEventForceCancelled -> Encoding $ctoJSONList :: [DerivationEventForceCancelled] -> Value toJSONList :: [DerivationEventForceCancelled] -> Value $ctoEncodingList :: [DerivationEventForceCancelled] -> Encoding toEncodingList :: [DerivationEventForceCancelled] -> Encoding ToJSON, Value -> Parser [DerivationEventForceCancelled] Value -> Parser DerivationEventForceCancelled (Value -> Parser DerivationEventForceCancelled) -> (Value -> Parser [DerivationEventForceCancelled]) -> FromJSON DerivationEventForceCancelled forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventForceCancelled parseJSON :: Value -> Parser DerivationEventForceCancelled $cparseJSONList :: Value -> Parser [DerivationEventForceCancelled] parseJSONList :: Value -> Parser [DerivationEventForceCancelled] FromJSON, Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventForceCancelled forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventForceCancelled Typeable DerivationEventForceCancelled -> (Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventForceCancelled Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventForceCancelled -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventBuilt = DerivationEventBuilt { DerivationEventBuilt -> UTCTime time :: UTCTime, DerivationEventBuilt -> [BuiltOutput] outputs :: [BuiltOutput] } deriving ((forall x. DerivationEventBuilt -> Rep DerivationEventBuilt x) -> (forall x. Rep DerivationEventBuilt x -> DerivationEventBuilt) -> Generic DerivationEventBuilt forall x. Rep DerivationEventBuilt x -> DerivationEventBuilt forall x. DerivationEventBuilt -> Rep DerivationEventBuilt x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventBuilt -> Rep DerivationEventBuilt x from :: forall x. DerivationEventBuilt -> Rep DerivationEventBuilt x $cto :: forall x. Rep DerivationEventBuilt x -> DerivationEventBuilt to :: forall x. Rep DerivationEventBuilt x -> DerivationEventBuilt Generic, Int -> DerivationEventBuilt -> ShowS [DerivationEventBuilt] -> ShowS DerivationEventBuilt -> String (Int -> DerivationEventBuilt -> ShowS) -> (DerivationEventBuilt -> String) -> ([DerivationEventBuilt] -> ShowS) -> Show DerivationEventBuilt forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventBuilt -> ShowS showsPrec :: Int -> DerivationEventBuilt -> ShowS $cshow :: DerivationEventBuilt -> String show :: DerivationEventBuilt -> String $cshowList :: [DerivationEventBuilt] -> ShowS showList :: [DerivationEventBuilt] -> ShowS Show, DerivationEventBuilt -> DerivationEventBuilt -> Bool (DerivationEventBuilt -> DerivationEventBuilt -> Bool) -> (DerivationEventBuilt -> DerivationEventBuilt -> Bool) -> Eq DerivationEventBuilt forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventBuilt -> DerivationEventBuilt -> Bool == :: DerivationEventBuilt -> DerivationEventBuilt -> Bool $c/= :: DerivationEventBuilt -> DerivationEventBuilt -> Bool /= :: DerivationEventBuilt -> DerivationEventBuilt -> Bool Eq) deriving anyclass (DerivationEventBuilt -> () (DerivationEventBuilt -> ()) -> NFData DerivationEventBuilt forall a. (a -> ()) -> NFData a $crnf :: DerivationEventBuilt -> () rnf :: DerivationEventBuilt -> () NFData, [DerivationEventBuilt] -> Value [DerivationEventBuilt] -> Encoding DerivationEventBuilt -> Value DerivationEventBuilt -> Encoding (DerivationEventBuilt -> Value) -> (DerivationEventBuilt -> Encoding) -> ([DerivationEventBuilt] -> Value) -> ([DerivationEventBuilt] -> Encoding) -> ToJSON DerivationEventBuilt forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventBuilt -> Value toJSON :: DerivationEventBuilt -> Value $ctoEncoding :: DerivationEventBuilt -> Encoding toEncoding :: DerivationEventBuilt -> Encoding $ctoJSONList :: [DerivationEventBuilt] -> Value toJSONList :: [DerivationEventBuilt] -> Value $ctoEncodingList :: [DerivationEventBuilt] -> Encoding toEncodingList :: [DerivationEventBuilt] -> Encoding ToJSON, Value -> Parser [DerivationEventBuilt] Value -> Parser DerivationEventBuilt (Value -> Parser DerivationEventBuilt) -> (Value -> Parser [DerivationEventBuilt]) -> FromJSON DerivationEventBuilt forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventBuilt parseJSON :: Value -> Parser DerivationEventBuilt $cparseJSONList :: Value -> Parser [DerivationEventBuilt] parseJSONList :: Value -> Parser [DerivationEventBuilt] FromJSON, Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventBuilt forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventBuilt Typeable DerivationEventBuilt -> (Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventBuilt Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventBuilt -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventHasCancelledForReset = DerivationEventHasCancelledForReset { DerivationEventHasCancelledForReset -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventHasCancelledForReset -> Rep DerivationEventHasCancelledForReset x) -> (forall x. Rep DerivationEventHasCancelledForReset x -> DerivationEventHasCancelledForReset) -> Generic DerivationEventHasCancelledForReset forall x. Rep DerivationEventHasCancelledForReset x -> DerivationEventHasCancelledForReset forall x. DerivationEventHasCancelledForReset -> Rep DerivationEventHasCancelledForReset x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventHasCancelledForReset -> Rep DerivationEventHasCancelledForReset x from :: forall x. DerivationEventHasCancelledForReset -> Rep DerivationEventHasCancelledForReset x $cto :: forall x. Rep DerivationEventHasCancelledForReset x -> DerivationEventHasCancelledForReset to :: forall x. Rep DerivationEventHasCancelledForReset x -> DerivationEventHasCancelledForReset Generic, Int -> DerivationEventHasCancelledForReset -> ShowS [DerivationEventHasCancelledForReset] -> ShowS DerivationEventHasCancelledForReset -> String (Int -> DerivationEventHasCancelledForReset -> ShowS) -> (DerivationEventHasCancelledForReset -> String) -> ([DerivationEventHasCancelledForReset] -> ShowS) -> Show DerivationEventHasCancelledForReset forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventHasCancelledForReset -> ShowS showsPrec :: Int -> DerivationEventHasCancelledForReset -> ShowS $cshow :: DerivationEventHasCancelledForReset -> String show :: DerivationEventHasCancelledForReset -> String $cshowList :: [DerivationEventHasCancelledForReset] -> ShowS showList :: [DerivationEventHasCancelledForReset] -> ShowS Show, DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool (DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool) -> (DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool) -> Eq DerivationEventHasCancelledForReset forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool == :: DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool $c/= :: DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool /= :: DerivationEventHasCancelledForReset -> DerivationEventHasCancelledForReset -> Bool Eq) deriving anyclass (DerivationEventHasCancelledForReset -> () (DerivationEventHasCancelledForReset -> ()) -> NFData DerivationEventHasCancelledForReset forall a. (a -> ()) -> NFData a $crnf :: DerivationEventHasCancelledForReset -> () rnf :: DerivationEventHasCancelledForReset -> () NFData, [DerivationEventHasCancelledForReset] -> Value [DerivationEventHasCancelledForReset] -> Encoding DerivationEventHasCancelledForReset -> Value DerivationEventHasCancelledForReset -> Encoding (DerivationEventHasCancelledForReset -> Value) -> (DerivationEventHasCancelledForReset -> Encoding) -> ([DerivationEventHasCancelledForReset] -> Value) -> ([DerivationEventHasCancelledForReset] -> Encoding) -> ToJSON DerivationEventHasCancelledForReset forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventHasCancelledForReset -> Value toJSON :: DerivationEventHasCancelledForReset -> Value $ctoEncoding :: DerivationEventHasCancelledForReset -> Encoding toEncoding :: DerivationEventHasCancelledForReset -> Encoding $ctoJSONList :: [DerivationEventHasCancelledForReset] -> Value toJSONList :: [DerivationEventHasCancelledForReset] -> Value $ctoEncodingList :: [DerivationEventHasCancelledForReset] -> Encoding toEncodingList :: [DerivationEventHasCancelledForReset] -> Encoding ToJSON, Value -> Parser [DerivationEventHasCancelledForReset] Value -> Parser DerivationEventHasCancelledForReset (Value -> Parser DerivationEventHasCancelledForReset) -> (Value -> Parser [DerivationEventHasCancelledForReset]) -> FromJSON DerivationEventHasCancelledForReset forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventHasCancelledForReset parseJSON :: Value -> Parser DerivationEventHasCancelledForReset $cparseJSONList :: Value -> Parser [DerivationEventHasCancelledForReset] parseJSONList :: Value -> Parser [DerivationEventHasCancelledForReset] FromJSON, Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventHasCancelledForReset forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventHasCancelledForReset Typeable DerivationEventHasCancelledForReset -> (Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventHasCancelledForReset Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventHasCancelledForReset -> Declare (Definitions Schema) NamedSchema O3.ToSchema) data DerivationEventHasCancelled = DerivationEventHasCancelled { DerivationEventHasCancelled -> UTCTime time :: UTCTime } deriving ((forall x. DerivationEventHasCancelled -> Rep DerivationEventHasCancelled x) -> (forall x. Rep DerivationEventHasCancelled x -> DerivationEventHasCancelled) -> Generic DerivationEventHasCancelled forall x. Rep DerivationEventHasCancelled x -> DerivationEventHasCancelled forall x. DerivationEventHasCancelled -> Rep DerivationEventHasCancelled x forall a. (forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a $cfrom :: forall x. DerivationEventHasCancelled -> Rep DerivationEventHasCancelled x from :: forall x. DerivationEventHasCancelled -> Rep DerivationEventHasCancelled x $cto :: forall x. Rep DerivationEventHasCancelled x -> DerivationEventHasCancelled to :: forall x. Rep DerivationEventHasCancelled x -> DerivationEventHasCancelled Generic, Int -> DerivationEventHasCancelled -> ShowS [DerivationEventHasCancelled] -> ShowS DerivationEventHasCancelled -> String (Int -> DerivationEventHasCancelled -> ShowS) -> (DerivationEventHasCancelled -> String) -> ([DerivationEventHasCancelled] -> ShowS) -> Show DerivationEventHasCancelled forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> DerivationEventHasCancelled -> ShowS showsPrec :: Int -> DerivationEventHasCancelled -> ShowS $cshow :: DerivationEventHasCancelled -> String show :: DerivationEventHasCancelled -> String $cshowList :: [DerivationEventHasCancelled] -> ShowS showList :: [DerivationEventHasCancelled] -> ShowS Show, DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool (DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool) -> (DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool) -> Eq DerivationEventHasCancelled forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a $c== :: DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool == :: DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool $c/= :: DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool /= :: DerivationEventHasCancelled -> DerivationEventHasCancelled -> Bool Eq) deriving anyclass (DerivationEventHasCancelled -> () (DerivationEventHasCancelled -> ()) -> NFData DerivationEventHasCancelled forall a. (a -> ()) -> NFData a $crnf :: DerivationEventHasCancelled -> () rnf :: DerivationEventHasCancelled -> () NFData, [DerivationEventHasCancelled] -> Value [DerivationEventHasCancelled] -> Encoding DerivationEventHasCancelled -> Value DerivationEventHasCancelled -> Encoding (DerivationEventHasCancelled -> Value) -> (DerivationEventHasCancelled -> Encoding) -> ([DerivationEventHasCancelled] -> Value) -> ([DerivationEventHasCancelled] -> Encoding) -> ToJSON DerivationEventHasCancelled forall a. (a -> Value) -> (a -> Encoding) -> ([a] -> Value) -> ([a] -> Encoding) -> ToJSON a $ctoJSON :: DerivationEventHasCancelled -> Value toJSON :: DerivationEventHasCancelled -> Value $ctoEncoding :: DerivationEventHasCancelled -> Encoding toEncoding :: DerivationEventHasCancelled -> Encoding $ctoJSONList :: [DerivationEventHasCancelled] -> Value toJSONList :: [DerivationEventHasCancelled] -> Value $ctoEncodingList :: [DerivationEventHasCancelled] -> Encoding toEncodingList :: [DerivationEventHasCancelled] -> Encoding ToJSON, Value -> Parser [DerivationEventHasCancelled] Value -> Parser DerivationEventHasCancelled (Value -> Parser DerivationEventHasCancelled) -> (Value -> Parser [DerivationEventHasCancelled]) -> FromJSON DerivationEventHasCancelled forall a. (Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a $cparseJSON :: Value -> Parser DerivationEventHasCancelled parseJSON :: Value -> Parser DerivationEventHasCancelled $cparseJSONList :: Value -> Parser [DerivationEventHasCancelled] parseJSONList :: Value -> Parser [DerivationEventHasCancelled] FromJSON, Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema (Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventHasCancelled forall a. (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema ToSchema, Typeable DerivationEventHasCancelled Typeable DerivationEventHasCancelled -> (Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema) -> ToSchema DerivationEventHasCancelled Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema forall a. Typeable a -> (Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a $cdeclareNamedSchema :: Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema declareNamedSchema :: Proxy DerivationEventHasCancelled -> Declare (Definitions Schema) NamedSchema O3.ToSchema)