cartodb-4.42/lib/assets/javascripts/dashboard/data/dashboard-vis-url-model.js

21 lines
406 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
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;