1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 15:06:41 +07:00
This commit is contained in:
Fedor Katurov 2021-04-07 17:33:36 +07:00
commit ddefc2743a
21 changed files with 873 additions and 0 deletions

0
src/api/http/index.ts Normal file
View file

3
src/api/http/types.ts Normal file
View file

@ -0,0 +1,3 @@
export interface HttpConfig extends Record<string, any> {
port: number
}

View file

@ -0,0 +1,5 @@
import { number, object } from 'yup'
export const httpConfigSchema = object().required().shape({
port: number().defined().required().positive(),
})

View file