graphql-engine/server/src-lib/Hasura/LogicalModelResolver/Lenses.hs
Daniel Harvey 78323ed1a1 chore(server): permissions for inline logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9835
GitOrigin-RevId: b36a4d5a8e0d4156a2d26803c7d046570f7afefa
2023-07-25 10:11:35 +00:00

16 lines
403 B
Haskell

{-# LANGUAGE TemplateHaskell #-}
module Hasura.LogicalModelResolver.Lenses
( ilmmFields,
ilmmSelectPermissions,
_LMIInlineLogicalModel,
_LMILogicalModelName,
)
where
import Control.Lens (makeLenses, makePrisms)
import Hasura.LogicalModelResolver.Metadata (InlineLogicalModelMetadata, LogicalModelIdentifier)
makeLenses ''InlineLogicalModelMetadata
makePrisms ''LogicalModelIdentifier