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

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

31 lines
616 B
Haskell
Raw Normal View History

{-# LANGUAGE TemplateHaskell #-}
module Hasura.Function.Lenses
( fiComment,
fiDescription,
fiExposedAs,
fiGQLAggregateName,
fiGQLArgsName,
fiGQLName,
fiInputArgs,
fiJsonAggSelect,
fiPermissions,
fiReturnType,
fiSQLName,
fiSystemDefined,
fiVolatility,
fpmRole,
_IASessionVariables,
_IAUserProvided,
)
where
import Control.Lens (makeLenses, makePrisms)
import Hasura.Function.Cache (FunctionInfo (..), FunctionPermissionInfo (..), InputArgument (..))
$(makePrisms ''InputArgument)
$(makeLenses ''FunctionPermissionInfo)
$(makeLenses ''FunctionInfo)