2021-12-22 03:10:28 +03:00
|
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
|
2022-02-25 19:08:18 +03:00
|
|
|
module Hasura.Backends.DataWrapper.Adapter.API () where
|
2021-12-22 03:10:28 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2022-04-29 05:13:13 +03:00
|
|
|
import Hasura.Prelude
|
2022-02-25 19:08:18 +03:00
|
|
|
import Hasura.SQL.Backend (BackendType (DataWrapper))
|
2022-04-29 05:13:13 +03:00
|
|
|
import Hasura.Server.API.Backend (BackendAPI (..), sourceCommands, tableCommands)
|
2021-12-22 03:10:28 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2022-02-25 19:08:18 +03:00
|
|
|
instance BackendAPI 'DataWrapper where
|
2022-04-29 05:13:13 +03:00
|
|
|
metadataV1CommandParsers =
|
|
|
|
concat
|
|
|
|
[ sourceCommands @'DataWrapper,
|
|
|
|
tableCommands @'DataWrapper
|
|
|
|
]
|