Merge pull request #9409 from overleaf/em-send-more-metadata-to-tpds

Send more metadata to TPDS

GitOrigin-RevId: e6a76a9974fbd8a7fc6a6b861c88ff4728301bc3
This commit is contained in:
Eric Mc Sween
2022-08-31 08:03:45 +00:00
committed by Copybot
parent 55c1f852d6
commit e3303bb276
13 changed files with 393 additions and 394 deletions
@@ -35,6 +35,7 @@ const ProjectEntityHandler = {
name: doc.name,
lines: content.lines,
rev: content.rev,
folder,
}
}
}
@@ -54,7 +55,7 @@ const ProjectEntityHandler = {
for (const { path: folderPath, folder } of folders) {
for (const file of iterablePaths(folder, 'fileRefs')) {
if (file != null) {
files[path.join(folderPath, file.name)] = file
files[path.join(folderPath, file.name)] = { ...file, folder }
}
}
}