nova-ui/services/validate/index.ts

10 lines
143 B
TypeScript
Raw Normal View History

2022-12-04 09:02:30 +03:00
import Ajv from 'ajv'
import { statusSchema } from './relayer'
const ajv = new Ajv()
ajv.addSchema(statusSchema, 'relayer')
export { ajv }