mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
initial
This commit is contained in:
commit
ddefc2743a
21 changed files with 873 additions and 0 deletions
5
src/api/http/validation.ts
Normal file
5
src/api/http/validation.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { number, object } from 'yup'
|
||||
|
||||
export const httpConfigSchema = object().required().shape({
|
||||
port: number().defined().required().positive(),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue