Skip to content

Commit

Permalink
feat/BibimMandu-IssueTacker#150: 마일스톤 타입 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
qkdflrgs committed Aug 10, 2023
1 parent db05cdd commit bae5166
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions FE/src/type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export type AssigneesProps = {
};

export type FetchedLabels = {
metadata: {
totalLabelCount: number;
totalMilestoneCount: number;
};
labels: Label[] | null;
};

Expand All @@ -86,3 +90,21 @@ export type FetchedDetail = {
milestone: Milestone | null;
comments: Comment[] | null;
};

export type FetchedMilestone = {
metadata: {
totalLabelCount: number;
totalMilestoneCount: number;
openMilestoneCount: number;
closeMilestoneCount: number;
};
milestones: MilestoneData[] | null;
};

export interface MilestoneData extends Milestone {
deadline: string;
isOpen: boolean;
description: string;
openIssueCount: number;
closeIssueCount: number;
}

0 comments on commit bae5166

Please sign in to comment.