[monorepo] prepare for zod everywhere epic (#36027)

GitOrigin-RevId: f082ae7fc7857fa72b2c1823645050bd4f6df305
This commit is contained in:
Jakob Ackermann
2026-09-17 11:42:46 +00:00
committed by Copybot
parent bff27fc3cc
commit 81df324bcc
27 changed files with 2588 additions and 70 deletions
+12 -1
View File
@@ -1,20 +1,31 @@
const { InvalidParamsError, InvalidRequestError } = require('./Errors')
const { z } = require('zod')
const { zz } = require('./zodHelpers')
const { parseReq } = require('./parseReq')
const {
parseReq,
setLogger,
setReqValidationModeForTests,
resetReqValidationLoggingForTests,
} = require('./parseReq')
const { validateSchema } = require('./validateSchema')
const {
handleValidationError,
createHandleValidationError,
} = require('./handleValidationError')
const { getRawReqInput, isLockdownInstalled } = require('./lockdown')
module.exports = {
z,
zz,
validateSchema,
parseReq,
setLogger,
setReqValidationModeForTests,
resetReqValidationLoggingForTests,
handleValidationError,
createHandleValidationError,
InvalidRequestError,
InvalidParamsError,
getRawReqInput,
isLockdownInstalled,
}