refactor(model): rename module Model.Types.Security -> Model.Types.Auth
This commit is contained in:
parent
223ae0f2f8
commit
2e47df00b9
@ -6,6 +6,7 @@ module Model.Types
|
||||
( module Types
|
||||
) where
|
||||
|
||||
import Model.Types.Auth as Types
|
||||
import Model.Types.Common as Types
|
||||
import Model.Types.Course as Types
|
||||
import Model.Types.DateTime as Types
|
||||
@ -13,7 +14,6 @@ import Model.Types.Exam as Types
|
||||
import Model.Types.ExamOffice as Types
|
||||
import Model.Types.Health as Types
|
||||
import Model.Types.Mail as Types
|
||||
import Model.Types.Security as Types
|
||||
import Model.Types.Sheet as Types
|
||||
import Model.Types.Submission as Types
|
||||
import Model.Types.Misc as Types
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
-- SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||
-- SPDX-FileCopyrightText: 2022-2024 Sarah Vaupel <sarah.vaupel@uniworx.de>, Gregor Kleen <gregor.kleen@ifi.lmu.de>, Sarah Vaupel <sarah.vaupel@ifi.lmu.de>, Sarah Vaupel <vaupel.sarah@campus.lmu.de>, Steffen Jost <jost@tcs.ifi.lmu.de>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
|
||||
{-|
|
||||
Module: Model.Types.Security
|
||||
Module: Model.Types.Auth
|
||||
Description: Types for authentication and authorisation
|
||||
-}
|
||||
|
||||
module Model.Types.Security
|
||||
( module Model.Types.Security
|
||||
module Model.Types.Auth
|
||||
( module Model.Types.Auth
|
||||
) where
|
||||
|
||||
import ClassyPrelude.Yesod hiding (derivePersistFieldJSON, Proxy(..))
|
||||
@ -73,7 +73,7 @@ import qualified Data.Foldable
|
||||
|
||||
import Data.Aeson (genericToJSON, genericParseJSON)
|
||||
|
||||
import Model.Types.Security
|
||||
import Model.Types.Auth
|
||||
|
||||
{-# ANN module ("HLint: ignore Use newtype instead of data" :: String) #-}
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ import Control.Lens.Extras
|
||||
import Foundation.Servant.Types
|
||||
|
||||
import Utils hiding (HasRoute)
|
||||
import Model.Types.Security
|
||||
import Model.Types.Auth
|
||||
|
||||
import Yesod.Core ( Yesod
|
||||
, RenderRoute(..), ParseRoute(..)
|
||||
|
||||
Reference in New Issue
Block a user