From 9add5b21d6eef26d1d1aa0f5cb6449f080af1fab Mon Sep 17 00:00:00 2001 From: tronghieuvuong Date: Fri, 15 Dec 2023 14:42:17 -0800 Subject: [PATCH 1/2] Fix documentation. --- apps/application-status/helper/getSprints.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/application-status/helper/getSprints.ts b/apps/application-status/helper/getSprints.ts index 219feef..92550a9 100644 --- a/apps/application-status/helper/getSprints.ts +++ b/apps/application-status/helper/getSprints.ts @@ -3,6 +3,15 @@ import { castingReleases, castingSprint } from './castingResponse' import { filterReleasesByDate, filterReleaseByTeam } from './filterRelease' import { TeamSprints } from '~/interface/interfaces' +/** + * Get all of the sprints in each Zenhub board. + * @param boardId + * @param startCursor + * @param endCursor + * @param releases + * @param team + * @returns + */ export default async function getSprints (boardId: string, startCursor: string, endCursor: string, releases: any, team: string) { const data = await getAllSprints(boardId, startCursor, endCursor) const result: TeamSprints = { From 3ec700847d5871bf7ebc41508105eb476e641593 Mon Sep 17 00:00:00 2001 From: tronghieuvuong Date: Fri, 15 Dec 2023 14:51:26 -0800 Subject: [PATCH 2/2] Fix linting errors. --- apps/application-status/helper/getSprints.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/application-status/helper/getSprints.ts b/apps/application-status/helper/getSprints.ts index 92550a9..40abcbb 100644 --- a/apps/application-status/helper/getSprints.ts +++ b/apps/application-status/helper/getSprints.ts @@ -5,12 +5,12 @@ import { TeamSprints } from '~/interface/interfaces' /** * Get all of the sprints in each Zenhub board. - * @param boardId - * @param startCursor - * @param endCursor - * @param releases - * @param team - * @returns + * @param boardId + * @param startCursor + * @param endCursor + * @param releases + * @param team + * @returns */ export default async function getSprints (boardId: string, startCursor: string, endCursor: string, releases: any, team: string) { const data = await getAllSprints(boardId, startCursor, endCursor)