14 lines
480 B
TypeScript
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)
|
|
}
|