[status page] developing

This commit is contained in:
LouisLam
2021-09-13 02:26:45 +08:00
parent f47f7758f9
commit e205adfd7b
5 changed files with 69 additions and 5 deletions

View File

@@ -20,6 +20,19 @@ const version = require("../../package.json").version;
* 2 = PENDING
*/
class Monitor extends BeanModel {
/**
* Return a object that ready to parse to JSON for public
* Only show necessary data to public
*/
async toPublicJSON() {
// TODO Only show necessary
return this.toJSON();
}
/**
* Return a object that ready to parse to JSON
*/
async toJSON() {
let notificationIDList = {};