initial commit

This commit is contained in:
Alex Holliday
2024-07-22 12:47:50 -07:00
parent 19efe29f10
commit a85ae41557
2 changed files with 35 additions and 0 deletions
+15
View File
@@ -98,6 +98,21 @@ const getMonitorsByUserId = async (req, res, next) => {
}
};
const getMonitorByIdForIncidents = async (req, res, next) => {
try {
} catch (error) {
error.service = SERVICE_NAME;
next(error);
}
};
const getMonitorsByUserIdForIncidents = async (req, res, next) => {
try {
} catch (error) {
error.service = SERVICE_NAME;
next(error);
}
};
/**
* Creates a new monitor
* @async
+20
View File
@@ -338,6 +338,26 @@ const getMonitorsByUserId = async (req, res) => {
}
};
/**
* Get monitors by UserID
* @async
* @param {Express.Request} req
* @param {Express.Response} res
* @returns {Promise<Monitor>}
* @throws {Error}
*/
const getMonitorByIdForIncidents = async (req, res, next) => {};
/**
* Get monitors by UserID
* @async
* @param {Express.Request} req
* @param {Express.Response} res
* @returns {Promise<Array<Monitor>>}
* @throws {Error}
*/
const getMonitorsByUserIdForIncidents = async (req, res, next) => {};
/**
* Create a monitor
* @async