- 로그인 요청 후 응답을 AuthData 로 저장 로직 구현 - Access/Refresh 토큰 구현 중
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
export type AuthData = {
|
||||
accessToken: string;
|
||||
refreshToken: string;
|
||||
isLogedIn: boolean;
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user