issue #33
All checks were successful
Test CI / build (push) Successful in 19s

- 로그인 요청 후 응답을 AuthData 로 저장 로직 구현
- Access/Refresh 토큰 구현 중
This commit is contained in:
geonhee-min
2025-12-01 16:22:40 +09:00
parent 877bbc582e
commit 45dc4cbaaa
11 changed files with 97 additions and 34 deletions

View File

@@ -1,5 +1,4 @@
export type AuthData = {
accessToken: string;
refreshToken: string;
isLogedIn: boolean;
}

View File

@@ -1,20 +0,0 @@
type PageRoutingInfo = {
path: string;
title: string;
}
export const PageRouting: Record<string, PageRoutingInfo> = {
LOGIN: { path: "/login", title: "" },
SIGN_UP: { path: "/signup", title: "" },
RESET_PASSWORD: { path: "/reset-password", title: "" },
HOME: { path: "/home", title: "홈" },
SCHEDULES: { path: "/schedules", title: "일정" },
SCHEDULES_NEW: { path: "/schedules/new", title: "일정 생성" },
SCHEDULES_EDIT: { path: "/schedules/edit", title: "일정 수정" },
SCHEDULES_DETAIL: { path: "/schedules/detail", title: "일정 상세" },
USER_INFO: { path: "/info", title: "사용자 정보" },
USER_FOLLOWING: { path: "/info/following", title: "팔로잉 목록" },
USER_FOLLOWER: { path: "/info/follower", title: "팔로워 목록" },
SETTINGS: { path: "/settings", title: "설정" },
NOT_FOUD: { path: "/not-found", title: "존재하지 않는 페이지" },
} as const;