graphql-engine/server/src-lib/Hasura/Backends/DataConnector/Adapter/API.hs
Brandon Martin 59820c5db5 server: Add tablePermissionsCommands to DataConnector API
Adding tablePermissionsCommands metadata api commands to dataconnector api

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5877
GitOrigin-RevId: feda63a963c6059a9ad72c0f1e13ed2dbb8e0d9b
2022-10-12 01:44:36 +00:00

21 lines
734 B
Haskell

{-# 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, sourceCommands, tableCommands, tablePermissionsCommands)
--------------------------------------------------------------------------------
instance BackendAPI 'DataConnector where
metadataV1CommandParsers =
concat
[ sourceCommands @'DataConnector,
tableCommands @'DataConnector,
tablePermissionsCommands @'DataConnector,
relationshipCommands @'DataConnector
]