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
|
2023-04-24 21:35:48 +03:00
|
|
|
import Hasura.RQL.Types.BackendType (BackendType (DataConnector))
|
2023-05-25 01:34:53 +03:00
|
|
|
import Hasura.Server.API.Backend (BackendAPI (..), functionCommands, relationshipCommands, remoteRelationshipCommands, sourceCommands, tableCommands, tablePermissionsCommands, trackableCommands)
|
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-05-19 07:47:12 +03:00
|
|
|
trackableCommands @'DataConnector,
|
2023-05-25 01:34:53 +03:00
|
|
|
functionCommands @'DataConnector,
|
2023-03-07 04:31:50 +03:00
|
|
|
relationshipCommands @'DataConnector,
|
|
|
|
remoteRelationshipCommands @'DataConnector
|
2022-04-29 05:13:13 +03:00
|
|
|
]
|