работаем бля работаем

This commit is contained in:
2026-05-09 03:21:44 +06:00
parent f845777bac
commit 0b148c6a7d
169 changed files with 15816 additions and 1005 deletions

11
server/plugins/schemas.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { FastifyPluginAsync } from 'fastify'
import fp from 'fastify-plugin'
import * as schemas from './schemas/index.ts'
const plugin: FastifyPluginAsync = fp(async (fastify) => {
for (const schema of Object.values(schemas)) {
fastify.addSchema(schema)
}
})
export default plugin