3 const debug
= require('debug')('gitter:infra:serializer:gitlab-project');
5 function GitlabProjectStrategy(/*options*/) {
6 this.preload = function(/*projects*/) {};
8 this.map = function(item
) {
14 description
: item
.description
,
15 absoluteUri
: item
.absoluteUri
,
17 private: item
.private,
18 avatar_url
: item
.avatar_url
23 GitlabProjectStrategy
.prototype = {
24 name
: 'GitlabProjectStrategy'
27 module
.exports
= GitlabProjectStrategy
;