diff options
Diffstat (limited to 'Handler/Common')
-rw-r--r-- | Handler/Common/Types.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Handler/Common/Types.hs b/Handler/Common/Types.hs index 08653af..9150f16 100644 --- a/Handler/Common/Types.hs +++ b/Handler/Common/Types.hs | |||
@@ -7,12 +7,12 @@ import Import | |||
7 | import Control.Lens | 7 | import Control.Lens |
8 | 8 | ||
9 | data InventoryState = InventoryState | 9 | data InventoryState = InventoryState |
10 | { stock :: [Entity Item] | 10 | { stock :: [WithType (Entity Item)] |
11 | , invFormState :: Maybe (FormState ItemId) | 11 | , invFormState :: Maybe (FormState ItemId) |
12 | } | 12 | } |
13 | 13 | ||
14 | data ReferenceState = ReferenceState | 14 | data ReferenceState = ReferenceState |
15 | { reference :: [Entity Reference] | 15 | { reference :: [WithType (Entity Reference)] |
16 | , refFormState :: Maybe (FormState ReferenceId) | 16 | , refFormState :: Maybe (FormState ReferenceId) |
17 | } | 17 | } |
18 | 18 | ||