{-# 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.RQL.Types.BackendType
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
      [ forall (b :: BackendType). Backend b => [CommandParser b]
sourceCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
tableCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
tablePermissionsCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
relationshipCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
remoteRelationshipCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
eventTriggerCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
nativeQueriesCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
storedProceduresCommands @'MSSQL,
        forall (b :: BackendType). Backend b => [CommandParser b]
logicalModelsCommands @'MSSQL
      ]