Form design for proxy hosts, audit log base

This commit is contained in:
Jamie Curnow
2018-07-16 17:00:52 +10:00
parent 74d2238010
commit c5450eaa1a
29 changed files with 646 additions and 121 deletions

View File

@ -257,6 +257,13 @@ module.exports = {
*/
getAll: function (expand, query) {
return getAllObjects('nginx/proxy-hosts', expand, query);
},
/**
* @param {Object} data
*/
create: function (data) {
return fetch('post', 'nginx/proxy-hosts', data);
}
},
@ -305,6 +312,17 @@ module.exports = {
}
},
AuditLog: {
/**
* @param {Array} [expand]
* @param {String} [query]
* @returns {Promise}
*/
getAll: function (expand, query) {
return getAllObjects('audit-log', expand, query);
}
},
Reports: {
/**