Merge pull request #35739 from overleaf/mfb-bring-main-bibliography-to-top-level

Bring main bibliography file to the top level settings

GitOrigin-RevId: 4c4d4927067995d947c6d0656425760ce56f9435
This commit is contained in:
Maria Florencia Besteiro Gonzalez
2026-09-17 11:36:48 +00:00
committed by Copybot
parent 6f8a1be171
commit 02d36687cd
22 changed files with 406 additions and 13 deletions
@@ -92,6 +92,7 @@ const updateProjectSettingsSchema = z.object({
name: z.string().optional(),
rootDocId: zz.objectId().optional(),
spellCheckLanguage: z.string().optional(),
referenceFormat: z.enum(['bibtex', 'biblatex']).optional(),
}),
})
@@ -144,6 +145,13 @@ const _ProjectController = {
)
}
if (body.referenceFormat != null) {
await EditorController.promises.setReferenceFormat(
projectId,
body.referenceFormat
)
}
res.sendStatus(204)
},