@@ -6,7 +6,7 @@ import SQLiteConnector from './dataConnectors/sqlite.js';
66import CodeInjector from './modules/codeInjector.js' ;
77import ExpressServer from './servers/express.js' ;
88// import FastifyServer from './servers/fastify.js';
9- import { ADMINFORTH_VERSION , listify , suggestIfTypo , RateLimiter , getClientIp } from './modules/utils.js' ;
9+ import { ADMINFORTH_VERSION , listify , suggestIfTypo , RateLimiter , RAMLock , getClientIp } from './modules/utils.js' ;
1010
1111import {
1212 type AdminForthConfig ,
@@ -42,7 +42,7 @@ export * from './types/Common.js';
4242export * from './types/Adapters.js' ;
4343export { interpretResource } ;
4444export { AdminForthPlugin } ;
45- export { suggestIfTypo , RateLimiter , getClientIp } ;
45+ export { suggestIfTypo , RateLimiter , RAMLock , getClientIp } ;
4646
4747
4848class AdminForth implements IAdminForth {
@@ -478,7 +478,6 @@ class AdminForth implements IAdminForth {
478478 { resource, recordId, record, oldRecord, adminUser, extra } :
479479 { resource : AdminForthResource , recordId : any , record : any , oldRecord : any , adminUser : AdminUser , extra ?: HttpExtra }
480480 ) : Promise < { error ?: string } > {
481-
482481 const err = this . validateRecordValues ( resource , record ) ;
483482 if ( err ) {
484483 return { error : err } ;
0 commit comments