1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 14:36:41 +07:00
vk-tg-bot/src/api/http/validation.ts
Fedor Katurov ddefc2743a initial
2021-04-07 17:33:36 +07:00

5 lines
151 B
TypeScript

import { number, object } from 'yup'
export const httpConfigSchema = object().required().shape({
port: number().defined().required().positive(),
})