import { createRequire } from 'module';import fs from 'fs';const require = createRequire(import.meta.url);export default fs.readdirSync(__dirname).reduce((schema: any, file: string) => { if (file == "index.ts") return schema; Object.assign(schema, require(/* @vite-ignore */ __dirname + '/' + file)); return schema;}, {});