mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Fix JSDoc grammar
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
1eecdec2d9
commit
46da5e51be
7 changed files with 9 additions and 9 deletions
|
@ -4,7 +4,7 @@ const { R } = require("redbean-node");
|
|||
class Group 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
|
||||
* @param {boolean} [showTags=false] Should the JSON include monitor tags
|
||||
* @returns {Object}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
|
|||
class Incident 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}
|
||||
*/
|
||||
|
|
|
@ -41,7 +41,7 @@ class Monitor extends BeanModel {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return a object that ready to parse to JSON
|
||||
* Return an object that ready to parse to JSON
|
||||
* @returns {Object}
|
||||
*/
|
||||
async toJSON(includeSensitiveData = true) {
|
||||
|
|
|
@ -2,7 +2,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
|
|||
|
||||
class Proxy extends BeanModel {
|
||||
/**
|
||||
* Return a object that ready to parse to JSON
|
||||
* Return an object that ready to parse to JSON
|
||||
* @returns {Object}
|
||||
*/
|
||||
toJSON() {
|
||||
|
|
|
@ -98,7 +98,7 @@ class StatusPage extends BeanModel {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return a object that ready to parse to JSON
|
||||
* Return an object that ready to parse to JSON
|
||||
* @returns {Object}
|
||||
*/
|
||||
async toJSON() {
|
||||
|
@ -119,7 +119,7 @@ class StatusPage 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}
|
||||
*/
|
||||
|
|
|
@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
|
|||
class Tag extends BeanModel {
|
||||
|
||||
/**
|
||||
* Return a object that ready to parse to JSON
|
||||
* Return an object that ready to parse to JSON
|
||||
* @returns {Object}
|
||||
*/
|
||||
toJSON() {
|
||||
|
|
Loading…
Reference in a new issue