Skip to content

Commit

Permalink
chore: add missing JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kernoeb committed Jan 22, 2024
1 parent a2053e9 commit 5a28d0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const includesTemplate = v => v && (v.includes(dateStartTemplate) || v.includes(
/**
* Check if event is a teacher
* @param {string} description
* @param {string} id
* @returns {boolean}
*/
const checkHighlightTeacher = ({ description, id }) => {
Expand All @@ -32,6 +33,7 @@ const checkHighlightTeacher = ({ description, id }) => {
* @param {string} value
* @param {string} location
* @param {string} description
* @param {string} id
* @param {{customColor: {amphi?: string, tp?: string, td?: string, other?: string}, highlightTeacher?: boolean}} options
* @returns {string}
*/
Expand Down Expand Up @@ -140,6 +142,7 @@ module.exports = {
* @param {object} colors
* @param {object|null} localeUtils
* @param {boolean} highlightTeacher
* @param {string} id
* @returns {[]}
*/
getFormattedEvents: ({ data: j, blocklist, colors, localeUtils, highlightTeacher, id }) => {
Expand Down

0 comments on commit 5a28d0a

Please sign in to comment.