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

module Hasura.Backends.MySQL.Instances.API () where

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

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