cartodb/lib/assets/javascripts/dashboard/data/dashboard-vis-url-model.js
2020-06-15 10:58:47 +08:00

21 lines
406 B
JavaScript

var UrlModel = require('dashboard/data/url-model');
/**
* URLs associated with the dashboard visualizations.
*/
var DashboardVisUrl = UrlModel.extend({
lockedItems: function () {
return this.urlToPath('locked');
},
sharedItems: function () {
return this.urlToPath('shared');
},
likedItems: function () {
return this.urlToPath('liked');
}
});
module.exports = DashboardVisUrl;