graphql-engine/server/src-lib/Hasura/Backends/DataWrapper/Adapter/API.hs
2022-04-29 02:14:10 +00:00

19 lines
580 B
Haskell

{-# 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
]