This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
api/src/services/index.ts

14 lines
480 B
TypeScript

import { FastifyPluginAsync } from 'fastify'
import { usersService } from './users/index.js'
import { guildsService } from './guilds/index.js'
import { uploadsService } from './uploads/index.js'
import { channelsService } from './channels/index.js'
export const services: FastifyPluginAsync = async (fastify) => {
await fastify.register(channelsService)
await fastify.register(guildsService)
await fastify.register(uploadsService)
await fastify.register(usersService)
}