mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
59820c5db5
Adding tablePermissionsCommands metadata api commands to dataconnector api PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5877 GitOrigin-RevId: feda63a963c6059a9ad72c0f1e13ed2dbb8e0d9b
21 lines
734 B
Haskell
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
|
|
]
|