Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hercules.API.Build.EvaluationDiff
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 #
Constructors
EvaluationDiff | |
Fields
|
Instances
newtype AttributeDiff Source #
Constructors
AttributeDiff (SimpleAttribute AttributeValueDiff) |
Instances
newtype AttributeValueDiff Source #
Constructors
AttributeValueDiff (Diff (Attribute (Result AttributeError Derivation))) |
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
Constructors
IFDDiff (Diff DerivationOutputNamePair) |
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 Methods declareNamedSchema :: Proxy IFDDiff -> Declare (Definitions Schema) NamedSchema # | |
ToSchema IFDDiff Source # | |
Defined in Hercules.API.Build.EvaluationDiff Methods declareNamedSchema :: Proxy IFDDiff -> Declare (Definitions Schema) NamedSchema # | |
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.4.0-inplace" 'True) (C1 ('MetaCons "IFDDiff" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Diff DerivationOutputNamePair)))) |
data DerivationOutputNamePair Source #
Constructors
DerivationOutputNamePair | |
Fields
|