{-# LANGUAGE DerivingVia #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Wire.API.Routes.Public.Galley where
import Servant
import Servant.OpenApi.Internal.Orphans ()
import Wire.API.Routes.API
import Wire.API.Routes.Public.Galley.Bot
import Wire.API.Routes.Public.Galley.Conversation
import Wire.API.Routes.Public.Galley.CustomBackend
import Wire.API.Routes.Public.Galley.Feature
import Wire.API.Routes.Public.Galley.LegalHold
import Wire.API.Routes.Public.Galley.MLS
import Wire.API.Routes.Public.Galley.Messaging
import Wire.API.Routes.Public.Galley.Team
import Wire.API.Routes.Public.Galley.TeamConversation
import Wire.API.Routes.Public.Galley.TeamMember
import Wire.API.Routes.Public.Galley.TeamNotification (TeamNotificationAPI)
type GalleyAPI =
ConversationAPI
:<|> TeamConversationAPI
:<|> MessagingAPI
:<|> BotAPI
:<|> TeamAPI
:<|> FeatureAPI
:<|> MLSAPI
:<|> CustomBackendAPI
:<|> LegalHoldAPI
:<|> TeamMemberAPI
:<|> TeamNotificationAPI
data GalleyAPITag
instance ServiceAPI GalleyAPITag v where
type ServiceAPIRoutes GalleyAPITag = GalleyAPI