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

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

19 lines
580 B
Haskell
Raw Normal View History

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