Task.purs 297 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module Gargantext.Components.GraphQL.Task where

import Gargantext.Types (AsyncTaskID)

type AsyncTaskStatus = String
type AsyncTaskType = String

type AsyncTask =
  { id     :: AsyncTaskID
  , status :: AsyncTaskStatus}

type AsyncTaskWithType =
  { task :: AsyncTask
  , typ  :: AsyncTaskType }