Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] api 이쁘게 #6

Merged
merged 4 commits into from
Sep 21, 2023
Merged

[FEAT] api 이쁘게 #6

merged 4 commits into from
Sep 21, 2023

Conversation

HYEOK9
Copy link
Collaborator

@HYEOK9 HYEOK9 commented Sep 17, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 17, 2023

Visit the preview URL for this PR (updated for commit cdb4ece):

https://batshu-c203f--pr6-feature-api-9qipgjrq.web.app

(expires Thu, 28 Sep 2023 01:59:50 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 83b3acd7145a633c2e47144814099f2df4c43e54

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 경로 별도로 따는 이유는 msw입니당

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 queryWrapper 쓸거면 템플릿타입으로 아예 타입도 정하는게 좋지 않을까.
default 타입으로 record쓰고

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

원래 따로 뒀다가 response타입도 다 여기있길래 여기에 넣음 따로 둘거면 다 옮기는 쪽으로 안그럼 똑같은 타입 두번 정의해야됨..

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HYEOK9 어디 공통으로 dto만 정의하고 import하는 방향은 어떤가요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

일단 endpoint만 빼놓음 옮기고 싶은거 있음 옮기고 머지 ㄱ

src/lib/fetcher.ts Show resolved Hide resolved
src/lib/fetcher.ts Outdated Show resolved Hide resolved
@bluejoyq bluejoyq merged commit 2e0a728 into main Sep 21, 2023
2 checks passed
@HYEOK9 HYEOK9 deleted the feature/api branch September 23, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants