-
Notifications
You must be signed in to change notification settings - Fork 2
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
refactor: document type #271
Conversation
…t-document # Conflicts: # src/types/document.d.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
너무 좋은데요?
한가지 코맨트만 확인 부탁드려요🙌
src/types/document.d.ts
Outdated
type Item = DocumentDetailItem | ||
type List = DocumentListItem[] | ||
type ListItem = DocumentListItem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
너무 좋은데요?
네이밍만 조금 더 직관적으로 바뀌면 좋을 것 같아요!
예를들면 아래와 같은..?
Document.DetailItem
Document.ItemInList
Document.List
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
좋아요👍👍
* feat: document card check * feat: query client for storybook * fix: merge and fix error * feat: directory id에 따른 documents 가져오기 + queries 적용 * fix: 불필요한 코드 삭제 * fix: build error * fix: import * fix: storybook * fix: expend buttons bug * fix: document markdown debugging * refactor: document type * refactor: 타입명 수정 * fix: modify document
개요
음... document type이 리스트를 불러올 때랑 디테일을 불러올 때 필드가 몇 개 달라서 아예 분리해봤습니다.
정우님 의견을 여쭤보고 싶습니다!
세부 내용
관련 링크