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:
@@ -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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user