packages feed

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

DatatypeStructure
  { mapping =
      ElmMapping
        { typeName = "SimpleRecordAlias"
        , moduleName = Just "Codegen.SampleTypes"
        , encoderLocation =
            Just
              SymbolLocation
                { symbolName = "encodeSimpleRecordAlias"
                , symbolModuleName = "Codegen.SampleTypes"
                }
        , decoderLocation =
            Just
              SymbolLocation
                { symbolName = "decodeSimpleRecordAlias"
                , symbolModuleName = "Codegen.SampleTypes"
                }
        , args = []
        , isTypeAlias = True
        , urlPiece = Nothing
        , queryParam = Nothing
        }
  , nParams = 0
  , constructors =
      [ Constructor
          { constructorName = "SimpleRecordAlias"
          , constructorFields =
              [ ( Just "name"
                , TyRef
                    { tyCon =
                        TyMapping
                          ElmMapping
                            { typeName = "PolymorphicRecursiveType"
                            , moduleName = Just "Codegen.SampleTypes"
                            , encoderLocation =
                                Just
                                  SymbolLocation
                                    { symbolName = "encodePolymorphicRecursiveType"
                                    , symbolModuleName = "Codegen.SampleTypes"
                                    }
                            , decoderLocation =
                                Just
                                  SymbolLocation
                                    { symbolName = "decodePolymorphicRecursiveType"
                                    , symbolModuleName = "Codegen.SampleTypes"
                                    }
                            , args = []
                            , isTypeAlias = False
                            , urlPiece = Nothing
                            , queryParam = Nothing
                            }
                    , tyArgs =
                        [ TyRef
                            { tyCon =
                                TyMapping
                                  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
                                    }
                            , tyArgs = []
                            }
                        ]
                    }
                )
              , ( Just "age"
                , TyRef
                    { tyCon =
                        TyMapping
                          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
                            }
                    , tyArgs = []
                    }
                )
              ]
          }
      ]
  }