{-# OPTIONS_GHC -fno-warn-orphans #-}

-- | MSSQL Instances API
--
-- Defines a 'Hasura.Server.API.Backend.BackendAPI' type class instance for MSSQL.
module Hasura.Backends.MSSQL.Instances.API () where

import Hasura.Prelude
import Hasura.SQL.Backend
import Hasura.Server.API.Backend

instance BackendAPI 'MSSQL where
  metadataV1CommandParsers :: [CommandParser 'MSSQL]
metadataV1CommandParsers =
    [[CommandParser 'MSSQL]] -> [CommandParser 'MSSQL]
forall (t :: * -> *) a. Foldable t => t [a] -> [a]
concat
      [ Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
sourceCommands @'MSSQL,
        Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
tableCommands @'MSSQL,
        Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
tablePermissionsCommands @'MSSQL,
        Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
relationshipCommands @'MSSQL,
        Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
remoteRelationshipCommands @'MSSQL,
        Backend 'MSSQL => [CommandParser 'MSSQL]
forall (b :: BackendType). Backend b => [CommandParser b]
eventTriggerCommands @'MSSQL
      ]