Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -5,6 +5,8 @@ module Dodge.Data.Damage.Type where
|
||||
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data DamageType
|
||||
= PIERCING
|
||||
@@ -29,3 +31,4 @@ instance ToJSONKey DamageType
|
||||
instance FromJSONKey DamageType
|
||||
|
||||
deriveJSON defaultOptions ''DamageType
|
||||
$($(derive [d| instance Deriving (Store DamageType) |]))
|
||||
|
||||
Reference in New Issue
Block a user