mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
31 lines
616 B
Haskell
31 lines
616 B
Haskell
|
{-# 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)
|