This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0

Nri.FeatureInterest.Feature

type alias Feature = { id : Int , header : String , body : String , image : Maybe (String) , upVotes : Int , upVoted : Bool , interview : Bool }
decodeFeature : Decoder Feature
module Nri.FeatureInterest.Feature exposing (..)

{-|
@docs Feature, decodeFeature
-}

import Json.Decode exposing (..)
import Json.Decode.Pipeline exposing (..)
import Json.Encode
import Http
import String


{-|-}
type alias Feature =
    { id : Int
    , header : String
    , body : String
    , image : Maybe (String)
    , upVotes : Int
    , upVoted : Bool
    , interview : Bool
    }

{-|-}
decodeFeature : Decoder Feature
decodeFeature =
    decode Feature
        |> required "id" int
        |> required "header" string
        |> required "body" string
        |> required "image" (maybe string)
        |> required "upVotes" int
        |> required "upVoted" bool
        |> required "interview" bool