Skip to content

Instantly share code, notes, and snippets.

@odoe
Created December 7, 2015 17:28
Show Gist options
  • Select an option

  • Save odoe/f6648e52546535618fc4 to your computer and use it in GitHub Desktop.

Select an option

Save odoe/f6648e52546535618fc4 to your computer and use it in GitHub Desktop.
type alias PortalItem =
{ id : String
, title : String
, thumbnailUrl : String
, description : String
, accessInformation : String
, itemUrl : String
, owner : String
, snippet : String
, avgRating : Float
, selected : Bool
, showmap : Bool
}
type alias Model =
{ items: List PortalItem
}
initialModel : Model
initialModel =
{ items = []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment