Merge pull request #28544 from overleaf/ac-some-web-esm-migration-4
[web] Convert some Features files to ES modules (part 4) GitOrigin-RevId: cf11a7584e39c4d4de08e2f924240e488a4066c4
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
import AuthorizationManager from '../Authorization/AuthorizationManager.js'
|
||||
import CompileManager from '../Compile/CompileManager.js'
|
||||
import CompileManager from '../Compile/CompileManager.mjs'
|
||||
import ClsiManager from '../Compile/ClsiManager.js'
|
||||
import ProjectFileAgent from './ProjectFileAgent.mjs'
|
||||
import _ from 'lodash'
|
||||
import {
|
||||
CompileFailedError,
|
||||
BadDataError,
|
||||
AccessDeniedError,
|
||||
} from './LinkedFilesErrors.js'
|
||||
import LinkedFilesErrors from './LinkedFilesErrors.mjs'
|
||||
import { OutputFileFetchFailedError } from '../Errors/Errors.js'
|
||||
import LinkedFilesHandler from './LinkedFilesHandler.mjs'
|
||||
import { promisify } from '@overleaf/promise-utils'
|
||||
|
||||
const { CompileFailedError, BadDataError, AccessDeniedError } =
|
||||
LinkedFilesErrors
|
||||
|
||||
function _prepare(projectId, linkedFileData, userId, callback) {
|
||||
_checkAuth(projectId, linkedFileData, userId, (err, allowed) => {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user