aboutsummaryrefslogtreecommitdiff
path: root/src/common/Model/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Model/Init.hs')
-rw-r--r--src/common/Model/Init.hs28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/common/Model/Init.hs b/src/common/Model/Init.hs
deleted file mode 100644
index 68fcfb8..0000000
--- a/src/common/Model/Init.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-{-# LANGUAGE DeriveGeneric #-}
-
-module Common.Model.Init
- ( Init(..)
- ) where
-
-import Data.Aeson (FromJSON, ToJSON)
-import GHC.Generics (Generic)
-
-import Common.Model.Category (Category)
-import Common.Model.Currency (Currency)
-import Common.Model.Income (Income)
-import Common.Model.Payment (Payment)
-import Common.Model.PaymentCategory (PaymentCategory)
-import Common.Model.User (UserId, User)
-
-data Init = Init
- { _init_users :: [User]
- , _init_currentUser :: UserId
- , _init_payments :: [Payment]
- , _init_incomes :: [Income]
- , _init_categories :: [Category]
- , _init_paymentCategories :: [PaymentCategory]
- , _init_currency :: Currency
- } deriving (Show, Generic)
-
-instance FromJSON Init
-instance ToJSON Init