Initial version.

Features:

- Upload PDF files let them analyze

- Manage meta data and items

- See processing in webapp
This commit is contained in:
Eike Kettner
2019-07-23 00:53:30 +02:00
parent 6154e6a387
commit 831cd8b655
341 changed files with 23634 additions and 484 deletions

View File

@ -0,0 +1,24 @@
module Data.SourceState exposing (..)
type SourceState
= Active
| Disabled
fromString: String -> Maybe SourceState
fromString str =
case String.toLower str of
"active" -> Just Active
"disabled" -> Just Disabled
_ -> Nothing
all: List SourceState
all =
[ Active
, Disabled
]
toString: SourceState -> String
toString dir =
case dir of
Active -> "Active"
Disabled -> "Disabled"