swiftengineer / elm-data / ElmData.Messages

Use to pass query params to a request made via a Resource or ListResource.


type RequestError
    = UnableToParseResponseBody String
    | HttpError Http.Error

results from a dao request


type alias RequestResult recordType =
Result RequestError (DAORequestResponse recordType)

results from a dao request


type alias RequestResults recordType =
Result RequestError (ListDAORequestResponse recordType)

results from a dao request for multiple records


type alias DAORequestResponse recordType =
{ body : recordType }

response from a dao request


type alias ListDAORequestResponse recordType =
{ body : List recordType }

response from a dao request for many records