mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
15 lines
189 B
CoffeeScript
15 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
|
||
|
}
|