Merge pull request #29659 from overleaf/revert-29656-revert-29521-ar-models-es-conversion

Revert "Revert "[web] Convert models and self-referential test files to ESM ""

GitOrigin-RevId: f64000ae31d298b075a8722dfc51f294c71bc021
This commit is contained in:
Andrew Rumble
2025-11-18 09:04:56 +00:00
committed by Copybot
parent f3d0c6920f
commit 394c60f2cf
203 changed files with 893 additions and 902 deletions
@@ -7,8 +7,8 @@
import minimist from 'minimist'
import { ObjectId } from '../app/src/infrastructure/mongodb.js'
import { User } from '../app/src/models/User.js'
import { Subscription } from '../app/src/models/Subscription.js'
import { User } from '../app/src/models/User.mjs'
import { Subscription } from '../app/src/models/Subscription.mjs'
import UserAuditLogHandler from '../app/src/Features/User/UserAuditLogHandler.mjs'
const argv = minimist(process.argv.slice(2))