Rerouted (cache, verified). The original is gone. This copy comes from a Lamdera package cache made before it went. The Lamdera package server serves a copy recovered from a Lamdera package cache from 2021-02-13.
What we checked: Rebuilt from the unpacked sources in a Lamdera package cache (5 copies agree), which Elm only writes after the published SHA-1 checked out; elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, so its SHA-1 is not the published one.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/carpe/elm-data/zipball/4.0.5/
This project exists to help manage the lifecycle of data from external sources as it flows through your applications. This includes DAOs for helping to make requests (both authenticated AND unauthenticated) to APIs, helpers for decoding and utilizing JWTs, and so much more.
Install the package with:
elm install carpe/elm-dataA DAO is used to wrap any necessary Configuration/Settings needed in order for your Elm application to communicate with an API.
I recommend you create them and store them in the top level of your application.
Resources are used to make requests. You can create them by providing them with a DAO instance.
A Resource is used to make requests that target a single record. (i.e. SHOW/CREATE/UPDATE)
A ListResource is used to make requests that target multiple records. (i.e. INDEX/DELETE)