overleaf/services/document-updater/app/coffee/LoggerSerializers.coffee
2018-03-07 16:24:22 +00:00

14 lines
189 B
CoffeeScript

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