issue # 회원가입 화면 구현 중
This commit is contained in:
5
src/data/AuthData.ts
Normal file
5
src/data/AuthData.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type AuthData = {
|
||||
accessToken: string;
|
||||
refreshToken: string;
|
||||
isLogedIn: boolean;
|
||||
}
|
||||
20
src/data/RoutingData.ts
Normal file
20
src/data/RoutingData.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
5
src/data/UserInfoData.ts
Normal file
5
src/data/UserInfoData.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type UserInfoData = {
|
||||
name: string;
|
||||
nickname: string;
|
||||
email: string;
|
||||
}
|
||||
Reference in New Issue
Block a user