Access lists shell, redirections work

This commit is contained in:
Jamie Curnow committed 2018-07-24 16:56:39 +10:00
1 parent 9da4f8ae87
commit 2a0c83433e
43 files changed
+2094 -178

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
'use strict';
const Backbone = require('backbone');
const model = Backbone.Model.extend({
idAttribute: 'id',
defaults: function () {
return {
id: 0,
created_on: null,
modified_on: null,
// The following are expansions:
owner: null
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};