We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssignmentSubmit
useNavigate
state
Mission
MyMissionItem
fetchMyMissions()
Mission[]
MissionView
fetchMissionRequirements()
export type Mission = { id: number; title: string; description: string; submittable: boolean; submitted: boolean; submissionMethod: keyof typeof MISSION_SUBMISSION_METHOD; startDateTime: ISO8601DateString; endDateTime: ISO8601DateString; status: MissionStatus; testable: boolean; judgment: Judgment; };
data class MyMissionAndJudgementResponse( val id: Long, val title: String, val startDateTime: LocalDateTime, val endDateTime: LocalDateTime, val submittable: Boolean, val submissionMethod: SubmissionMethod, val status: MissionStatus, val submitted: Boolean, val testable: Boolean, val judgment: LastJudgmentResponse?, )
data class MyMissionResponse( val id: Long, val title: String, val startDateTime: LocalDateTime, val endDateTime: LocalDateTime, val description: String, val submittable: Boolean, val submissionMethod: SubmissionMethod, val status: MissionStatus, val submitted: Boolean, )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AssignmentSubmit
으로 이동하기 전useNavigate
의state
에 저장하는 값은 아래 두 경우 모두 같은Mission
을 사용한다.MyMissionItem
:fetchMyMissions()
를 통해Mission[]
을 반환한다.MissionView
:fetchMissionRequirements()
를 통해Mission
을 반환한다.Mission
에 정의된 모든 프로퍼티와 1:1로 일치하지 않는다.AssignmentSubmit
의 잠재적인 문제를 해결하고 향후 프로젝트 전체에 적용할 수 있는 구조를 고민한다.Mission
fetchMyMissions() 호출 시 서버 반환 타입
fetchMissionRequirements() 호출 시 서버 반환 타입
The text was updated successfully, but these errors were encountered: