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 { 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 * Only show necessary data to public
* @param {boolean} [showTags=false] Should the JSON include monitor tags * @param {boolean} [showTags=false] Should the JSON include monitor tags
* @returns {Object} * @returns {Object}

View file

@ -14,7 +14,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
class Heartbeat extends BeanModel { 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 * Only show necessary data to public
* @returns {Object} * @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} * @returns {Object}
*/ */
toJSON() { toJSON() {

View file

@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
class Incident extends BeanModel { 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 * Only show necessary data to public
* @returns {Object} * @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} * @returns {Object}
*/ */
async toJSON(includeSensitiveData = true) { async toJSON(includeSensitiveData = true) {

View file

@ -2,7 +2,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
class Proxy extends BeanModel { class Proxy extends BeanModel {
/** /**
* Return a object that ready to parse to JSON * Return an object that ready to parse to JSON
* @returns {Object} * @returns {Object}
*/ */
toJSON() { 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} * @returns {Object}
*/ */
async toJSON() { 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 * Only show necessary data to public
* @returns {Object} * @returns {Object}
*/ */

View file

@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model");
class Tag extends BeanModel { class Tag extends BeanModel {
/** /**
* Return a object that ready to parse to JSON * Return an object that ready to parse to JSON
* @returns {Object} * @returns {Object}
*/ */
toJSON() { toJSON() {