diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-12 16:08:18 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-12 16:08:18 +1000 |
commit | 3afa538c7af2d2e092b482a67a25e8547d386820 (patch) | |
tree | f73f8f15ded66eafc551109979c852eebf562089 /src/Servall/Types.hs | |
parent | 0566547e07065581e2f45288eed63e4fb5874cf4 (diff) |
separating out wikiparser and types and added config
Diffstat (limited to 'src/Servall/Types.hs')
-rw-r--r-- | src/Servall/Types.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Servall/Types.hs b/src/Servall/Types.hs new file mode 100644 index 0000000..e179e2c --- /dev/null +++ b/src/Servall/Types.hs @@ -0,0 +1,13 @@ +module Servall.Types + ( WikiTemplate(..) + ) where + +import qualified Data.HashMap.Lazy as HM +import Data.Text ( Text ) + +data WikiTemplate = WikiTemplate + { wtName :: Text + -- , wtSubName :: Maybe Text + , wtFields :: HM.HashMap Text Text + } + deriving Show |