mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
9a0c761b4a
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8992 GitOrigin-RevId: a06cf33a96d6ef8ad2234a385016b5e68c46b8f2
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)
|