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