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.

19 lines
590 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 (..), sourceCommands, tableCommands)
--------------------------------------------------------------------------------
instance BackendAPI 'DataConnector where
metadataV1CommandParsers =
concat
[ sourceCommands @'DataConnector,
tableCommands @'DataConnector
]