Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data EvaluationDiff = EvaluationDiff {
- beforeId :: Id Evaluation
- afterId :: Id Evaluation
- attributes :: [AttributeDiff]
- ifds :: [IFDDiff]
- newtype AttributeDiff = AttributeDiff (SimpleAttribute AttributeValueDiff)
- newtype AttributeValueDiff = AttributeValueDiff (Diff (Attribute (Result AttributeError Derivation)))
- data Diff a = Diff {}
- newtype IFDDiff = IFDDiff (Diff DerivationOutputNamePair)
- data DerivationOutputNamePair = DerivationOutputNamePair {}
Documentation
data EvaluationDiff Source #
EvaluationDiff | |
|
Instances
newtype AttributeDiff Source #
Instances
newtype AttributeValueDiff Source #
Instances
Generic type for additions, remvals and changes. Addition and removal are represented by nulling the appropriate field.
This gives the best JSON representation, despite the fact that Absence is
representable: {before: null, after: null}
. Most - if not all - endpoints
can be expected to not return such a value.
NOTE: Generic types must always be wrapped in a newtype, so as to avoid ambiguities in the generated schema.
Instances
Instances
FromJSON IFDDiff Source # | |
ToJSON IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff | |
Generic IFDDiff Source # | |
Show IFDDiff Source # | |
NFData IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff | |
Eq IFDDiff Source # | |
ToSchema IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff | |
ToSchema IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff | |
type Rep IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff type Rep IFDDiff = D1 ('MetaData "IFDDiff" "Hercules.API.Build.EvaluationDiff" "hercules-ci-api-0.8.3.0-inplace" 'True) (C1 ('MetaCons "IFDDiff" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Diff DerivationOutputNamePair)))) |
data DerivationOutputNamePair Source #