nova-ui/services/validate/index.ts
2022-12-04 07:02:30 +01:00

10 lines
143 B
TypeScript

import Ajv from 'ajv'
import { statusSchema } from './relayer'
const ajv = new Ajv()
ajv.addSchema(statusSchema, 'relayer')
export { ajv }