import { route } from '../../utils/route-helpers.js';
import { type Controller, type ControllerRouteList } from '../index.js';
import serveIntegrationLogo from './serveIntegrationLogo.js';
import serveIntegrationLogoWithBackground from './serveIntegrationLogoWithBackground.js';

export default {
  pathPrefix: '/integration-logos',
  routes: [
    route.get<undefined>(
      '/:integrationId/with-background',
      serveIntegrationLogoWithBackground,
    ),
    route.get<undefined>('/:integrationId', serveIntegrationLogo),
  ] as ControllerRouteList,
} satisfies Controller;
