2021-12-22 03:10:28 +03:00
|
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
|
2022-05-02 08:03:12 +03:00
|
|
|
module Hasura.Backends.DataConnector.Adapter.API () where
|
2021-12-22 03:10:28 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2022-04-29 05:13:13 +03:00
|
|
|
import Hasura.Prelude
|
2022-05-02 08:03:12 +03:00
|
|
|
import Hasura.SQL.Backend (BackendType (DataConnector))
|
2023-03-07 04:31:50 +03:00
|
|
|
import Hasura.Server.API.Backend (BackendAPI (..), relationshipCommands, remoteRelationshipCommands, sourceCommands, tableCommands, tablePermissionsCommands)
|
2021-12-22 03:10:28 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2022-05-02 08:03:12 +03:00
|
|
|
instance BackendAPI 'DataConnector where
|
2022-04-29 05:13:13 +03:00
|
|
|
metadataV1CommandParsers =
|
|
|
|
concat
|
2022-05-02 08:03:12 +03:00
|
|
|
[ sourceCommands @'DataConnector,
|
2022-08-24 00:46:10 +03:00
|
|
|
tableCommands @'DataConnector,
|
2022-10-12 04:43:22 +03:00
|
|
|
tablePermissionsCommands @'DataConnector,
|
2023-03-07 04:31:50 +03:00
|
|
|
relationshipCommands @'DataConnector,
|
|
|
|
remoteRelationshipCommands @'DataConnector
|
2022-04-29 05:13:13 +03:00
|
|
|
]
|