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
Raw Normal View History

2021-10-24 04:18:18 +02:00
import { FastifyPluginAsync } from 'fastify'
2021-10-24 04:06:16 +02:00
2021-10-24 04:18:18 +02:00
import { usersService } from './users/index.js'
import { guildsService } from './guilds/index.js'
import { uploadsService } from './uploads/index.js'
import { channelsService } from './channels/index.js'
2021-10-24 04:06:16 +02:00
2021-10-24 04:18:18 +02:00
export const services: FastifyPluginAsync = async (fastify) => {
await fastify.register(channelsService)
2021-10-24 04:18:18 +02:00
await fastify.register(guildsService)
await fastify.register(uploadsService)
await fastify.register(usersService)
2021-10-24 04:18:18 +02:00
}