1module Sources.Processing.Encoding exposing (argumentsDecoder)
2
3{-| Encoding.
4-}
5
6import Json.Decode as Decode exposing (Decoder)
7import Sources.Encoding as Sources
8import Sources.Processing exposing (Arguments)
9
10
11
12-- 🔱
13
14
15argumentsDecoder : Decoder Arguments
16argumentsDecoder =
17 Decode.map2 Arguments
18 (Decode.field "origin" Decode.string)
19 (Decode.field "sources" <| Decode.list Sources.decoder)