overleaf/services/document-updater/app/coffee/LoggerSerializers.coffee

15 lines
189 B
CoffeeScript
Raw Normal View History

module.exports =
docs: (docs) ->
docs.map (doc) ->
{
path: doc.path
id: doc.doc
}
files: (files) ->
files.map (file) ->
{
path: file.path
id: file.file
}