diff options
| author | Joris | 2020-01-30 11:35:31 +0000 | 
|---|---|---|
| committer | Joris | 2020-01-30 11:35:31 +0000 | 
| commit | 960fa7cb7ae4c57d01306f78cd349f3a8337d0ab (patch) | |
| tree | 5077cc720525fb025e4dba65a9a8b631862cbcc8 /src/server/Model/Message/Key.hs | |
| parent | 14bdbc8c937f5d0b35c61350dba28cb41c3737cd (diff) | |
| parent | 6a04e640955051616c3ad0874605830c448f2d75 (diff) | |
Merge branch 'with-ghcjs' into 'master'
Use Haskell on the frontend
See merge request guyonvarch/shared-cost!2
Diffstat (limited to 'src/server/Model/Message/Key.hs')
| -rw-r--r-- | src/server/Model/Message/Key.hs | 193 | 
1 files changed, 0 insertions, 193 deletions
| diff --git a/src/server/Model/Message/Key.hs b/src/server/Model/Message/Key.hs deleted file mode 100644 index 18f16f0..0000000 --- a/src/server/Model/Message/Key.hs +++ /dev/null @@ -1,193 +0,0 @@ -{-# LANGUAGE DeriveGeneric #-} - -module Model.Message.Key -  ( Key(..) -  ) where - -import qualified Data.Aeson as Json -import qualified Data.Text as T - -data Key = - -  -- Title - -  SharedCost - -  -- Sign - -  | Email -  | SignIn -  | SendEmailFail -  | InvalidEmail -  | UnauthorizedSignIn -  | Forbidden -  | EnterValidEmail -  | SignInUsed -  | SignInExpired -  | SignInInvalid -  | SignInMailTitle -  | SignInMail -  | SignInEmailSent - -  -- Dates - -  | January -  | February -  | March -  | April -  | May -  | June -  | July -  | August -  | September -  | October -  | November -  | December - -  | ShortDate -  | ShortMonthAndYear -  | LongDate - -  -- Search - -  | SearchName -  | SearchPunctual -  | SearchMonthly - -  -- Payments - -  | PaymentsAreBalanced -  | Name -  | Cost -  | Payer -  | Date -  | Frequency -  | InvalidFrequency -  | AddPayment -  | ClonePayment -  | EditPayment -  | PaymentNotDeleted -  | Punctual -  | Monthly - -  | PaymentsTitle -  | Payment -  | Payments -  | Worth -  | NoPayment - -  | PaymentName -  | PaymentCost -  | PaymentDate -  | PaymentCategory -  | PaymentPunctual -  | PaymentMonthly - -  | Clone -  | Edit -  | Delete -  | ConfirmPaymentDelete - -  -- Categories - -  | Categories -  | NoCategories -  | CategoryNotDeleted -  | AddCategory -  | CloneCategory -  | EditCategory -  | ConfirmCategoryDelete -  | CategoryName -  | CategoryColor -  | Color -  | UsedCategory - -  -- Statistics - -  | Statistics -  | ByMonthsAndMean -  | By -  | Total - -  -- Income - -  | CumulativeIncomesSince -  | NoIncome -  | Income -  | MonthlyNetIncomes -  | AddIncome -  | CloneIncome -  | EditIncome -  | IncomeNotDeleted -  | IncomeAmount -  | IncomeDate -  | ConfirmIncomeDelete -  | Add - -  -- Form - -  | Empty -  | InvalidString -  | InvalidDate -  | CostMustNotBeNull -  | InvalidInt -  | InvalidCategory -  | InvalidColor -  | AlreadyExists -  | SmallerIntThan -  | GreaterIntThan - -  -- Errors - -  | CreatePaymentError -  | EditPaymentError -  | DeletePaymentError -  | CreateIncomeError -  | EditIncomeError -  | DeleteIncomeError -  | CreateCategoryError -  | EditCategoryError -  | DeleteCategoryError -  | SignOutError - -  -- Dialog - -  | Confirm -  | Undo - -  -- Page not found - -  | PageNotFound - -  -- Weekly report - -  | WeeklyReport -  | WeeklyReportEmpty -  | PaymentCreated -  | PaymentsCreated -  | PaymentEdited -  | PaymentsEdited -  | PaymentDeleted -  | PaymentsDeleted -  | IncomeCreated -  | IncomesCreated -  | IncomeEdited -  | IncomesEdited -  | IncomeDeleted -  | IncomesDeleted -  | PayedFor -  | DidNotPayFor -  | IsPayedFrom -  | IsNotPayedFrom - -  -- Http error - -  | BadUrl -  | Timeout -  | NetworkError -  | BadPayload - -  deriving (Enum, Bounded, Show) - -instance Json.ToJSON Key where -  toJSON = Json.String . T.pack . show | 
