[web] Convert models and self-referential test files to ESM (#29521)

from overleaf/ar-models-es-conversion

GitOrigin-RevId: a92ab8342c0f3e23155eacc0570458fc910c3d71
This commit is contained in:
Andrew Rumble
2025-11-13 09:06:13 +00:00
committed by Copybot
parent 59aab0878d
commit 7c9fea64ac
202 changed files with 804 additions and 846 deletions
@@ -8,7 +8,7 @@ import mongodb from 'mongodb-legacy'
import { db } from '../app/src/infrastructure/mongodb.js'
import Errors from '../app/src/Features/Errors/Errors.js'
import ProjectEntityMongoUpdateHandler from '../app/src/Features/Project/ProjectEntityMongoUpdateHandler.mjs'
import { iterablePaths } from '../app/src/Features/Project/IterablePath.js'
import { iterablePaths } from '../app/src/Features/Project/IterablePath.mjs'
import { scriptRunner } from './lib/ScriptRunner.mjs'
import HistoryManager from '../app/src/Features/History/HistoryManager.mjs'