mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
14 lines
189 B
CoffeeScript
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
|
|
}
|