graphql-engine/server/src-lib/Hasura/Backends/DataConnector/Adapter/API.hs

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

22 lines
814 B
Haskell
Raw Normal View History

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