diff options
Diffstat (limited to 'lib/Types.hs')
-rw-r--r-- | lib/Types.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Types.hs b/lib/Types.hs index 1099630..481dd22 100644 --- a/lib/Types.hs +++ b/lib/Types.hs @@ -15,6 +15,7 @@ import Data.Aeson (FromJSON, ToJSON (toJSON), import Data.Text (Text) import GHC.Generics (Generic) +import Badges (Badge) import qualified Data.Aeson as A import Data.Maybe (mapMaybe) import Paths (RelPath) @@ -47,7 +48,7 @@ instance HasArguments Level where -- | a hint comes with an explanation (and a level), or is a dependency -- (in which case it'll be otherwise treated as an info hint) -data Lint = Depends Dep | Offers Text | Lint Hint +data Lint = Depends Dep | Offers Text | Lint Hint | Badge Badge deriving (Ord, Eq, Generic, ToJSONKey) -- | TODO: add a reasonable representation of possible urls |