// src/server/features/system/index.ts
// System feature plugin - registers system management routes

import fp from 'fastify-plugin';
import { FastifyPluginAsync } from 'fastify';
import { systemRoutes } from './system.routes';

export const systemPlugin: FastifyPluginAsync = fp(async (fastify) => {
  await fastify.register(systemRoutes, { prefix: '/api/system' });
}, { name: 'system' });

export default systemPlugin;
