nginx-proxy-manager/src/frontend/js/models/dead-host.js

28 lines
551 B
JavaScript
Raw Normal View History

2018-07-08 21:22:10 -04:00
'use strict';
const Backbone = require('backbone');
const model = Backbone.Model.extend({
idAttribute: 'id',
defaults: function () {
return {
2018-07-18 19:47:55 -04:00
id: 0,
created_on: null,
modified_on: null,
owner: null,
domain_name: '',
ssl_enabled: false,
ssl_provider: false,
meta: []
2018-07-08 21:22:10 -04:00
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};