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

Nexosis.Types.Status

Status is reported on any long running processing that the Nexosis Api may be doing. These are mostly Sessions and Imports.

type Status = Requested | Started | Completed | Cancelled | Failed | CancellationPending
type alias HistoryRecord = { date : ZonedDateTime , status : Status }

The history of when status was changed from one value to another.

module Nexosis.Types.Status exposing (HistoryRecord, Status(..))

{-| Status is reported on any long running processing that the Nexosis Api may be doing. These are mostly `Sessions` and `Imports`.

@docs Status, HistoryRecord

-}

import Time.ZonedDateTime exposing (ZonedDateTime)


{-| -}
type Status
    = Requested
    | Started
    | Completed
    | Cancelled
    | Failed
    | CancellationPending


{-| The history of when status was changed from one value to another.
-}
type alias HistoryRecord =
    { date : ZonedDateTime
    , status : Status
    }