graphql-engine/server/src-lib/Hasura/Backends/DataConnector/Adapter/API.hs
Lyndon Maydwell 41054de113 Data Connectors Native Queries Support
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9499
Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com>
GitOrigin-RevId: 1e351556c43e643aa973f87adc0306f076cd227e
2023-08-17 02:05:14 +00:00

27 lines
1.1 KiB
Haskell

{-# OPTIONS_GHC -fno-warn-orphans #-}
module Hasura.Backends.DataConnector.Adapter.API () where
--------------------------------------------------------------------------------
import Hasura.Prelude
import Hasura.RQL.Types.BackendType (BackendType (DataConnector))
import Hasura.Server.API.Backend (BackendAPI (..), functionCommands, functionPermissionsCommands, logicalModelsCommands, nativeQueriesCommands, relationshipCommands, remoteRelationshipCommands, sourceCommands, tableCommands, tablePermissionsCommands, trackableCommands)
--------------------------------------------------------------------------------
instance BackendAPI 'DataConnector where
metadataV1CommandParsers =
concat
[ sourceCommands @'DataConnector,
tableCommands @'DataConnector,
tablePermissionsCommands @'DataConnector,
trackableCommands @'DataConnector,
functionCommands @'DataConnector,
functionPermissionsCommands @'DataConnector,
relationshipCommands @'DataConnector,
remoteRelationshipCommands @'DataConnector,
logicalModelsCommands @'DataConnector,
nativeQueriesCommands @'DataConnector
]