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
2022-04-08 21:36:29 +02:00

14 lines
483 B
TypeScript

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