graphql-engine/server/src-lib/Hasura/LogicalModel/Lenses.hs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
440 B
Haskell
Raw Normal View History

{-# LANGUAGE TemplateHaskell #-}
module Hasura.LogicalModel.Lenses
( lmiName,
lmiPermissions,
lmiDescription,
lmiFields,
lmmName,
lmmFields,
lmmDescription,
lmmSelectPermissions,
)
where
import Control.Lens (makeLenses)
import Hasura.LogicalModel.Cache (LogicalModelInfo (..))
import Hasura.LogicalModel.Metadata (LogicalModelMetadata (..))
makeLenses ''LogicalModelInfo
makeLenses ''LogicalModelMetadata