packages feed

elmental-0.1.0.1: test-output/extraction/golden/SimpleType.txt

DatatypeStructure
  { mapping =
      ElmMapping
        { typeName = "SimpleType"
        , moduleName = Just "Codegen.SampleTypes"
        , encoderLocation =
            Just
              SymbolLocation
                { symbolName = "encodeSimpleType"
                , symbolModuleName = "Codegen.SampleTypes"
                }
        , decoderLocation =
            Just
              SymbolLocation
                { symbolName = "decodeSimpleType"
                , symbolModuleName = "Codegen.SampleTypes"
                }
        , args = []
        , isTypeAlias = False
        , urlPiece = Nothing
        , queryParam = Nothing
        }
  , nParams = 0
  , constructors =
      [ Constructor
          { constructorName = "SimpleType"
          , constructorFields =
              [ ( Nothing
                , TyRef
                    { tyCon =
                        TyMapping
                          ElmMapping
                            { typeName = "Int"
                            , moduleName = Nothing
                            , encoderLocation =
                                Just
                                  SymbolLocation
                                    { symbolName = "int" , symbolModuleName = "Json.Encode" }
                            , decoderLocation =
                                Just
                                  SymbolLocation
                                    { symbolName = "int" , symbolModuleName = "Json.Decode" }
                            , args = []
                            , isTypeAlias = False
                            , urlPiece = Nothing
                            , queryParam = Nothing
                            }
                    , tyArgs = []
                    }
                )
              ]
          }
      ]
  }