summaryrefslogtreecommitdiff
path: root/src/Servall/Types.hs
blob: e179e2c68aa8c98f318bf7e1124e1cd2f9bf6f49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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