mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[Analytics service] Migrate from JOI to ZOD GitOrigin-RevId: 5f6abc23c5359ca8599ef4b7d660d5f08551d247
16 lines
391 B
JavaScript
16 lines
391 B
JavaScript
const { ParamsError } = require('./Errors')
|
|
const { z } = require('zod')
|
|
const { zz } = require('./zodHelpers')
|
|
const { validateReq } = require('./validateReq')
|
|
const { validateSchema } = require('./validateSchema')
|
|
const { handleValidationError } = require('./handleValidationError')
|
|
|
|
module.exports = {
|
|
z,
|
|
zz,
|
|
validateSchema,
|
|
validateReq,
|
|
handleValidationError,
|
|
ParamsError,
|
|
}
|