-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 행록 디자인 시스템 적용 및 layout 생성 * feature: 예외 페이지 추가 * feat: SidebarNavigation 구현 * feat: AdminMainPage 구현 * refactor: SidebarNavigation 리팩터링 * feat: page routing 구현 * feat: 도시 테이블 구현 * feat: city table style 적용 * feat: 도시 추가 모달 구현 * feat: 도시 수정 버튼 및 기능 구현 * refactor: 주석 제거
- Loading branch information
Showing
151 changed files
with
4,404 additions
and
2,939 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+180 KB
...tools-npm-4.3.2-779f6c743d-296a03dd29.zip → ...tools-npm-4.3.3-72a4f624fb-e76e712df7.zip
Binary file not shown.
Binary file renamed
BIN
+784 KB
...core-npm-7.23.7-0265ed5fd1-38c9934973.zip → ...core-npm-7.23.9-4987baf09b-03883300bf.zip
Binary file not shown.
Binary file removed
BIN
-322 KB
...arn/cache/@babel-helper-create-class-features-plugin-npm-7.23.7-721531f6f7-f594e99f97.zip
Binary file not shown.
Binary file added
BIN
+326 KB
...arn/cache/@babel-helper-create-class-features-plugin-npm-7.23.9-369c030eff-3bcbd699c3.zip
Binary file not shown.
Binary file removed
BIN
-203 KB
...po/.yarn/cache/@babel-helper-define-polyfill-provider-npm-0.4.4-7dfaee32d2-60126f5f71.zip
Binary file not shown.
Binary file renamed
BIN
+589 KB
...pers-npm-7.23.8-8990094028-d9fce49278.zip → ...pers-npm-7.23.9-703579a363-f69fd0aca9.zip
Binary file not shown.
Binary file removed
BIN
-1.8 MB
frontend-monorepo/.yarn/cache/@babel-parser-npm-7.23.6-2fad283d6e-6f76cd5cca.zip
Binary file not shown.
Binary file added
BIN
+1.8 MB
frontend-monorepo/.yarn/cache/@babel-parser-npm-7.23.9-720a0b56cb-7df9738643.zip
Binary file not shown.
Binary file renamed
BIN
+22.2 KB
...ions-npm-7.23.7-7fc3773349-63d314edc9.zip → ...ions-npm-7.23.9-190920332d-4ff75f9ce5.zip
Binary file not shown.
Binary file removed
BIN
-65.8 KB
....yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.23.3-e1bf1dc0f6-0d55280a27.zip
Binary file not shown.
Binary file added
BIN
+66.1 KB
....yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.23.9-8e4e9bf07c-1926631fe9.zip
Binary file not shown.
Binary file renamed
BIN
+153 KB
...-env-npm-7.23.8-f783f17704-e602ad9546.zip → ...-env-npm-7.23.9-ecf3dc35c0-2837a42089.zip
Binary file not shown.
Binary file renamed
BIN
+71.1 KB
...ate-npm-7.22.15-0b464facb4-9312edd37c.zip → ...late-npm-7.23.9-d3df10ecd2-0e8b601194.zip
Binary file not shown.
Binary file renamed
BIN
+608 KB
...erse-npm-7.23.7-6251d782ea-e32fceb424.zip → ...erse-npm-7.23.9-5506c369f7-d1615d1d02.zip
Binary file not shown.
Binary file renamed
BIN
+2.34 MB
...ypes-npm-7.23.6-4e68ac9e9b-42cefce8a6.zip → ...ypes-npm-7.23.9-c32aeb5f36-edc7bb180c.zip
Binary file not shown.
Binary file added
BIN
+7.95 KB
frontend-monorepo/.yarn/cache/@bundled-es-modules-cookie-npm-2.0.0-936890fd62-0655dd331b.zip
Binary file not shown.
Binary file added
BIN
+7.79 KB
...end-monorepo/.yarn/cache/@bundled-es-modules-statuses-npm-1.0.1-c6f8822c93-c1a8ede3ef.zip
Binary file not shown.
Binary file removed
BIN
-9.31 MB
frontend-monorepo/.yarn/cache/@esbuild-darwin-arm64-npm-0.19.11-9294a47a38-10c0.zip
Binary file not shown.
Binary file renamed
BIN
+205 KB
...-core-npm-1.5.3-04b262f382-5fc8fa0d6f.zip → ...-core-npm-1.6.0-47cc2a9b3a-667a68036f.zip
Binary file not shown.
Binary file renamed
BIN
+143 KB
...i-dom-npm-1.5.4-673a9f0f9c-8a47ac5b8c.zip → ...i-dom-npm-1.6.0-dc81f598cd-35ad6ec2d4.zip
Binary file not shown.
Binary file renamed
BIN
+48.9 KB
...t-dom-npm-2.0.6-4c37c2a933-33bdeb7048.zip → ...t-dom-npm-2.0.7-df3f5f04a3-323794959c.zip
Binary file not shown.
Binary file added
BIN
+66.8 KB
frontend-monorepo/.yarn/cache/@mswjs-cookies-npm-1.1.0-a9e9053518-c8442b77f4.zip
Binary file not shown.
Binary file added
BIN
+962 KB
frontend-monorepo/.yarn/cache/@mswjs-interceptors-npm-0.25.15-5318d2091f-518e259586.zip
Binary file not shown.
Binary file added
BIN
+26.8 KB
...end-monorepo/.yarn/cache/@open-draft-deferred-promise-npm-2.2.0-adf396dc9f-eafc1b1d0f.zip
Binary file not shown.
Binary file added
BIN
+25.2 KB
frontend-monorepo/.yarn/cache/@open-draft-logger-npm-0.3.0-12b03e55aa-90010647b2.zip
Binary file not shown.
Binary file added
BIN
+11.6 KB
frontend-monorepo/.yarn/cache/@open-draft-until-npm-2.1.0-e27da33c52-61d3f99718.zip
Binary file not shown.
Binary file renamed
BIN
+33.5 MB
...win-arm64-npm-1.3.105-371fc834bd-10c0.zip → ...win-arm64-npm-1.3.106-53993dcb85-10c0.zip
Binary file not shown.
Binary file renamed
BIN
+212 KB
...ore-npm-1.3.105-55b0b54b70-719283fa1b.zip → ...ore-npm-1.3.106-7bbd2336ac-6bb5ce3282.zip
Binary file not shown.
Binary file renamed
BIN
+3.29 MB
...ools-npm-5.17.7-610e8296ad-96bb17aec6.zip → ...ols-npm-5.17.21-a517bd959a-bf3db47e4b.zip
Binary file not shown.
Binary file renamed
BIN
+62.7 KB
...ols-npm-5.17.19-a8f9ba6b83-d2031e432b.zip → ...ols-npm-5.17.21-25343039f3-f568617056.zip
Binary file not shown.
Binary file added
BIN
+10.8 KB
frontend-monorepo/.yarn/cache/@types-cookie-npm-0.6.0-1f4c3f48f0-5b326bd018.zip
Binary file not shown.
Binary file renamed
BIN
+44.9 KB
...ore-npm-4.17.41-7d196a92fa-dc166cbf44.zip → ...ore-npm-4.17.42-88f99db252-8aee6c2972.zip
Binary file not shown.
Binary file renamed
BIN
+3.38 MB
...de-npm-16.18.74-c91c0e66be-4978e0c34d.zip → ...de-npm-16.18.76-410f165c98-af4bac4db2.zip
Binary file not shown.
Binary file renamed
BIN
+3.7 MB
...ode-npm-18.19.8-c797f1f1ad-bb50ba3730.zip → ...de-npm-18.19.10-f36f48c154-9a284a15b7.zip
Binary file not shown.
Binary file renamed
BIN
+3.82 MB
...ode-npm-20.11.5-b807d46a1a-6d18cec852.zip → ...ode-npm-20.11.7-a2c302dd6c-ba4b41542b.zip
Binary file not shown.
Binary file added
BIN
+5.49 KB
frontend-monorepo/.yarn/cache/@types-statuses-npm-2.0.4-c9c508f332-9e5efd048a.zip
Binary file not shown.
Binary file renamed
BIN
+7.56 KB
...-uuid-npm-9.0.7-c380bb8654-b329ebd4f9.zip → ...-uuid-npm-9.0.8-3eeeaa5abb-b411b93054.zip
Binary file not shown.
Binary file removed
BIN
-2.58 MB
...onorepo/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.19.0-e459327339-ab1a5ace66.zip
Binary file not shown.
Binary file removed
BIN
-19.9 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-parser-npm-6.19.0-9eb3cee154-d547bfb1aa.zip
Binary file not shown.
Binary file removed
BIN
-730 KB
...onorepo/.yarn/cache/@typescript-eslint-scope-manager-npm-6.19.0-12fda27d3a-1ec7b9dedc.zip
Binary file not shown.
Binary file removed
BIN
-122 KB
...d-monorepo/.yarn/cache/@typescript-eslint-type-utils-npm-6.19.0-00fe452f25-5b146b9854.zip
Binary file not shown.
Binary file removed
BIN
-157 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-types-npm-6.19.0-5b4bafc5cc-6f81860a3c.zip
Binary file not shown.
Binary file removed
BIN
-588 KB
...epo/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.19.0-019759cf57-5b365f009e.zip
Binary file not shown.
Binary file removed
BIN
-344 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-utils-npm-6.19.0-dcbf5b285a-343ff4cd4f.zip
Binary file not shown.
Binary file removed
BIN
-22.4 KB
...monorepo/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.19.0-d5ac659907-bb34e922e0.zip
Binary file not shown.
Binary file renamed
BIN
+1.74 MB
...axios-npm-1.6.5-87404a12d6-aeb9acf875.zip → ...axios-npm-1.6.7-d7b9974d1b-131bf8e62e.zip
Binary file not shown.
Binary file renamed
BIN
+188 KB
...rejs3-npm-0.8.7-76de93c569-094e40f4ab.zip → ...rejs3-npm-0.9.0-444a62ae31-b857010736.zip
Binary file not shown.
Binary file renamed
BIN
+2.02 MB
...pm-1.0.30001579-e3fe2d544b-4003970f8d.zip → ...pm-1.0.30001580-0920f47d30-f3a41bb5a8.zip
Binary file not shown.
Binary file removed
BIN
-35.3 KB
frontend-monorepo/.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-3866c8b96e.zip
Binary file not shown.
Binary file renamed
BIN
+72.2 KB
...tenv-npm-16.3.2-857383d4c1-a87d62cef0.zip → ...tenv-npm-16.4.1-07f53222f2-ef3d95f48f.zip
Binary file not shown.
Binary file renamed
BIN
+266 KB
...ium-npm-1.4.640-225b3bf01f-fe5e2eaf3b.zip → ...ium-npm-1.4.647-4d1291da52-bb0c978f44.zip
Binary file not shown.
Binary file renamed
BIN
+34.1 KB
...oader-npm-4.0.2-5edc2cf71a-9e69458e46.zip → ...oader-npm-4.0.3-644eea0d62-fb083e7f2a.zip
Binary file not shown.
Binary file removed
BIN
-132 KB
frontend-monorepo/.yarn/cache/esbuild-npm-0.19.11-b091158d92-0fd9131240.zip
Binary file not shown.
Binary file renamed
BIN
+132 KB
...yfill-npm-3.3.0-9b18abfd30-9123396366.zip → ...yfill-npm-4.0.2-0cef9f97de-865736fa62.zip
Binary file not shown.
Binary file renamed
BIN
+448 KB
...ache-npm-10.1.0-f3d3a0f0ab-778bc8b262.zip → ...ache-npm-10.2.0-b9f6b44740-c9847612aa.zip
Binary file not shown.
Binary file removed
BIN
-1.91 MB
frontend-monorepo/.yarn/cache/msw-npm-1.2.3-e6a5075bf5-d6b1988f2d.zip
Binary file not shown.
Binary file added
BIN
+2.01 MB
frontend-monorepo/.yarn/cache/msw-npm-2.1.5-ba8988ea3c-ed1be6ee28.zip
Binary file not shown.
Binary file renamed
BIN
+40.3 KB
.../nypm-npm-0.3.4-31bab7851c-3b623a831e.zip → .../nypm-npm-0.3.6-5527ee7f3b-addc0a0f2e.zip
Binary file not shown.
Binary file renamed
BIN
+3.3 KB
...tions-npm-2.3.0-2b68dad75a-83089e77d2.zip → ...tions-npm-2.4.0-fa64f5993f-a6f76ce27f.zip
Binary file not shown.
Binary file added
BIN
+46.2 KB
frontend-monorepo/.yarn/cache/strict-event-emitter-npm-0.5.1-8414bf36b3-f5228a6e6b.zip
Binary file not shown.
Binary file added
BIN
+333 KB
frontend-monorepo/.yarn/cache/type-fest-npm-4.10.2-71667dd36f-740f7d30da.zip
Binary file not shown.
Binary file removed
BIN
-30.6 MB
frontend-monorepo/.yarn/cache/typescript-npm-5.3.3-6b23a5da18-e33cef99d8.zip
Binary file not shown.
Binary file removed
BIN
-30.6 MB
frontend-monorepo/.yarn/cache/typescript-patch-4778c7998b-1d0a5f4ce4.zip
Binary file not shown.
Binary file added
BIN
+11 KB
frontend-monorepo/.yarn/cache/vite-plugin-svgr-npm-4.2.0-e0c6a7a1f0-0a6400f209.zip
Binary file not shown.
Binary file renamed
BIN
+4.66 MB
...pack-npm-5.89.0-3800e9efd0-2562bf4878.zip → ...pack-npm-5.90.0-eac7686483-4acec1a719.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
frontend-monorepo/packages/hanglog-admin/src/api/HTTPError.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export class HTTPError extends Error { | ||
statusCode: number; | ||
|
||
code?: number; | ||
|
||
constructor(statusCode: number, message?: string, code?: number) { | ||
super(message); | ||
|
||
this.name = 'HTTPError'; | ||
this.statusCode = statusCode; | ||
this.code = code; | ||
|
||
Object.setPrototypeOf(this, HTTPError.prototype); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
frontend-monorepo/packages/hanglog-admin/src/api/axiosInstance.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import axios from 'axios'; | ||
|
||
import { handleAPIError } from '@api/interceptors'; | ||
|
||
import { AXIOS_BASE_URL, NETWORK } from '@constants/api'; | ||
|
||
export const axiosInstance = axios.create({ | ||
baseURL: AXIOS_BASE_URL, | ||
timeout: NETWORK.TIMEOUT, | ||
withCredentials: true, | ||
useAuth: true, | ||
}); | ||
|
||
axiosInstance.interceptors.response.use((response) => response, handleAPIError); |
10 changes: 10 additions & 0 deletions
10
frontend-monorepo/packages/hanglog-admin/src/api/city/getCity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { axiosInstance } from '@api/axiosInstance'; | ||
|
||
import type { CityData } from '@type/city'; | ||
|
||
import { END_POINTS } from '@constants/api'; | ||
|
||
export const getCity = async () => { | ||
const { data } = await axiosInstance.get<CityData[]>(END_POINTS.CITY); | ||
return data; | ||
}; |
13 changes: 13 additions & 0 deletions
13
frontend-monorepo/packages/hanglog-admin/src/api/city/postCity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { axiosInstance } from '@api/axiosInstance'; | ||
|
||
import type { CityFormData } from '@type/city'; | ||
|
||
import { END_POINTS } from '@constants/api'; | ||
|
||
export const postCity = async (cityFormData: CityFormData) => { | ||
const response = await axiosInstance.post(END_POINTS.CITY, cityFormData); | ||
|
||
const tripId = response.headers.location.replace(`${END_POINTS.CITY}/`, ''); | ||
|
||
return tripId; | ||
}; |
15 changes: 15 additions & 0 deletions
15
frontend-monorepo/packages/hanglog-admin/src/api/city/putCity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { axiosInstance } from '@api/axiosInstance'; | ||
|
||
import type { CityFormData } from '@type/city'; | ||
|
||
import { END_POINTS } from '@constants/api'; | ||
|
||
export interface PutCityParams extends CityFormData { | ||
cityId: number; | ||
} | ||
|
||
export const putCity = ({ cityId, ...cityInformation }: PutCityParams) => { | ||
return axiosInstance.put<CityFormData>(END_POINTS.CHANGE_CITY(cityId), { | ||
...cityInformation, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import 'axios'; | ||
|
||
declare module 'axios' { | ||
export interface AxiosRequestConfig { | ||
useAuth?: boolean; | ||
} | ||
} |
Oops, something went wrong.