-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feat: 리스트생성 다음 버튼 활성화 기능 * Feat: 템플릿으로 리스트 바로 생성 기능 * Feat: 리스트 생성 API 연결 * Feat: 리스트 생성 구현 및 컴포넌트 분리 * Feat: 이미지 요청, 리스트생성 요청 데이터 분리 * HOTFIX: CI test 빌드에러 해결 - 파일명 대소문자 다름 이슈 * Refactor: 서영님 리뷰 반영 - error rules 상 수화 및 css 파일 디테일 수정
- Loading branch information
1 parent
450c256
commit 62ae89d
Showing
44 changed files
with
1,124 additions
and
797 deletions.
There are no files selected for viewing
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 @@ | ||
NEXT_PUBLIC_BASE_URL = "https://dev.api.listywave.com" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import axiosInstance from '@/lib/axios/axiosInstance'; | ||
import { CategoriesType } from '@/lib/types/categoriesType'; | ||
import { CategoryType } from '@/lib/types/categoriesType'; | ||
|
||
export const getCategories = async () => { | ||
const response = await axiosInstance.get<CategoriesType>('/categories'); | ||
const response = await axiosInstance.get<CategoryType[]>('/categories'); | ||
|
||
return response.data; | ||
}; |
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 |
---|---|---|
@@ -1 +1,8 @@ | ||
// 리스트 생성 api | ||
import axiosInstance from '@/lib/axios/axiosInstance'; | ||
import { ListCreateType } from '@/lib/types/listType'; | ||
|
||
export const createList = async (data: ListCreateType) => { | ||
const response = await axiosInstance.post<ListCreateType>('/lists', data); | ||
|
||
return response.data; | ||
}; |
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,8 @@ | ||
import axiosInstance from '@/lib/axios/axiosInstance'; | ||
import { UserProfilesType } from '@/lib/types/userProfileType'; | ||
|
||
export const getUsers = async () => { | ||
const response = await axiosInstance.get<UserProfilesType>('/users'); | ||
|
||
return response.data; | ||
}; |
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
Oops, something went wrong.