|
|
|
@ -14,7 +14,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
|
|
|
|
|
class Heartbeat extends BeanModel {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return a object that ready to parse to JSON for public
|
|
|
|
|
* Return an object that ready to parse to JSON for public
|
|
|
|
|
* Only show necessary data to public
|
|
|
|
|
* @returns {Object}
|
|
|
|
|
*/
|
|
|
|
@ -28,7 +28,7 @@ class Heartbeat extends BeanModel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return a object that ready to parse to JSON
|
|
|
|
|
* Return an object that ready to parse to JSON
|
|
|
|
|
* @returns {Object}
|
|
|
|
|
*/
|
|
|
|
|
toJSON() {
|
|
|
|
|