2023-04-28 21:46:09 +03:00
|
|
|
{-# LANGUAGE TemplateHaskell #-}
|
|
|
|
|
|
|
|
module Hasura.NativeQuery.Lenses
|
|
|
|
( nqiRootFieldName,
|
2023-05-10 18:13:56 +03:00
|
|
|
nqiRelationships,
|
2023-04-28 21:46:09 +03:00
|
|
|
nqiCode,
|
|
|
|
nqiReturns,
|
|
|
|
nqiArguments,
|
|
|
|
nqiDescription,
|
2023-07-10 16:45:42 +03:00
|
|
|
nqmArguments,
|
|
|
|
nqmObjectRelationships,
|
|
|
|
nqmCode,
|
|
|
|
nqmDescription,
|
|
|
|
nqmReturns,
|
|
|
|
nqmArrayRelationships,
|
|
|
|
nqmRootFieldName,
|
2023-04-28 21:46:09 +03:00
|
|
|
)
|
|
|
|
where
|
|
|
|
|
|
|
|
import Control.Lens (makeLenses)
|
|
|
|
import Hasura.NativeQuery.Cache (NativeQueryInfo (..))
|
2023-07-10 16:45:42 +03:00
|
|
|
import Hasura.NativeQuery.Metadata (NativeQueryMetadata (..))
|
2023-04-28 21:46:09 +03:00
|
|
|
|
2023-07-10 16:45:42 +03:00
|
|
|
makeLenses ''NativeQueryMetadata
|
2023-04-28 21:46:09 +03:00
|
|
|
makeLenses ''NativeQueryInfo
|