mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 04:48:48 -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
|
||
|
}
|