mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #30053 from overleaf/acf-migration4-controllers-and-params
(4) Update controllers and tests for Zod migration GitOrigin-RevId: 876fd64f96e1f5d7244ac1d45053c7db9857d46b
This commit is contained in:
committed by
Copybot
parent
0efb28baa7
commit
65c164c73d
@@ -3,7 +3,10 @@ const { z } = require('zod')
|
||||
const { zz } = require('./zodHelpers')
|
||||
const { validateReq } = require('./validateReq')
|
||||
const { validateSchema } = require('./validateSchema')
|
||||
const { handleValidationError } = require('./handleValidationError')
|
||||
const {
|
||||
handleValidationError,
|
||||
createHandleValidationError,
|
||||
} = require('./handleValidationError')
|
||||
|
||||
module.exports = {
|
||||
z,
|
||||
@@ -11,5 +14,6 @@ module.exports = {
|
||||
validateSchema,
|
||||
validateReq,
|
||||
handleValidationError,
|
||||
createHandleValidationError,
|
||||
ParamsError,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user