Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/_common/constants/matchStatus.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const dict: { [key: string]: { label: string; color: string } } = {
PENDING: { label: "매칭중", color: "bg-neoBlue" },
PROGRESS: { label: "매칭중", color: "bg-neoGreen" },
MATCHED: { label: "매칭됨", color: "bg-neoGreen" },
PENDING: { label: "보류", color: "bg-neoYellow" },
CANCELED: { label: "취소", color: "bg-neoYellow" },
FINISHED: { label: "종료", color: "bg-neoRed" },
};
Expand Down
7 changes: 6 additions & 1 deletion app/_common/types/matching.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export type MatchStatus = "PENDING" | "MATCHED" | "CANCELED" | "FINISHED";
export type MatchStatus =
| "PENDING"
| "MATCHED"
| "PROGRESS"
| "CANCELED"
| "FINISHED";

export interface Match {
matchingId: number;
Expand Down