Fix JSDoc grammar

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-22 19:10:13 +01:00
parent 1eecdec2d9
commit 46da5e51be
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05
7 changed files with 9 additions and 9 deletions

View File

@ -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}

View File

@ -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() {

View File

@ -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}
*/

View File

@ -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) {

View File

@ -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() {

View File

@ -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}
*/

View File

@ -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() {