@@ -152,25 +152,26 @@ docs {
152152
153153#### 지원하는 형식
154154
155- 1 . ** ` [한글명] 숫자 영문키` 형식** (권장)
155+ 1 . ** ` 숫자) 한글명 [ 영문키] ` 형식** (권장)
156156
157157 ```
158- [어드민] 7 Admin/ → 생성 폴더: 7 Admin
159- [사용자] 8 Users/ → 생성 폴더: 8 Users
160- [멘토] 9 Mentor/ → 생성 폴더: 9 Mentor
158+ 1) 어드민 [Admin]/ → 생성 폴더: Admin
159+ 7) 어드민 [Admin]/ → 생성 폴더: Admin
160+ 8) 사용자 [Users]/ → 생성 폴더: Users
161+ 9) 멘토 [Mentor]/ → 생성 폴더: Mentor
161162 ```
162163
163- - 대괄호 뒤의 모든 내용(숫자 + 영문키)이 폴더명이 됩니다
164- - 한글명은 가독성을 위해 사용, 실제 폴더명에는 포함되지 않음
164+ - 대괄호 안의 ` 영문키 ` 만 사용됩니다
165+ - 숫자와 한글명은 가독성을 위해 사용, 실제 폴더명에는 포함되지 않음
165166
166- 2 . ** ` 한글명 [EnglishKey ] ` 형식** (기존 방식, 호환)
167+ 2 . ** ` 한글명 [영문키 ] ` 형식** (기존 방식, 호환)
167168
168169 ```
169170 지원서 [applications]/ → 생성 폴더: applications
170171 사용자 [users]/ → 생성 폴더: users
171172 ```
172173
173- - 대괄호 안의 ` EnglishKey ` 만 사용됩니다
174+ - 대괄호 안의 ` 영문키 ` 만 사용됩니다
174175 - 기존 프로젝트와 호환됩니다
175176
1761773 . ** 영문 폴더명** (가장 단순)
@@ -184,7 +185,8 @@ docs {
184185
185186| Bruno 폴더명 | 생성되는 폴더 | 설명 |
186187| ----------------------- | -------------- | --------------------- |
187- | ` [어드민] 7 Admin ` | ` 7 Admin ` | 숫자와 공백 포함 가능 |
188+ | ` 1) 어드민 [Admin] ` | ` Admin ` | 대괄호 안의 키만 사용 |
189+ | ` 7) 어드민 [Admin] ` | ` Admin ` | 숫자는 무시됨 |
188190| ` 지원서 [applications] ` | ` applications ` | 대괄호 안의 키만 사용 |
189191| ` users ` | ` users ` | 그대로 사용 |
190192
@@ -194,16 +196,16 @@ docs {
194196
195197#### 지원하는 형식
196198
197- 1 . ** ` [한국어 키] 영어 ` 형식** (권장, 폴더명과 동일한 패턴)
199+ 1 . ** ` 한글명 [영문키] ` 형식** (권장, 폴더명과 동일한 패턴)
198200
199201 ```
200- [ 멘토 목록 조회] get-mentor-list.bru → get-mentor-list → getMentorList
201- [ 사용자 프로필] get-user-profile.bru → get-user-profile → getUserProfile
202- [ 지원서 생성] post-create-application.bru → post-create-application → postCreateApplication
202+ 멘토 목록 조회 [ get-mentor-list] .bru → get-mentor-list → getMentorList
203+ 사용자 프로필 [ get-user-profile] .bru → get-user-profile → getUserProfile
204+ 지원서 생성 [ post-create-application] .bru → post-create-application → postCreateApplication
203205 ```
204206
205- - 대괄호 뒤의 영문 부분만 사용됩니다
206- - 한글 설명은 가독성을 위해 사용, 실제 코드 생성에는 포함되지 않음
207+ - 대괄호 안의 ` 영문키 ` 만 사용됩니다
208+ - 한글명은 가독성을 위해 사용, 실제 코드 생성에는 포함되지 않음
207209
2082102 . ** 영문 파일명** (기존 방식, 호환)
209211
@@ -220,11 +222,11 @@ docs {
220222** ✅ 올바른 예시:**
221223
222224```
223- [ 멘토 목록 조회] get-mentor-list.bru → QueryKeys.mentors.getMentorList
224- [ 사용자 프로필] get-user-profile.bru → QueryKeys.users.getUserProfile
225- [ 지원서 생성] post-create-application.bru → QueryKeys.applications.postCreateApplication
226- [ 프로필 수정] put-update-profile.bru → QueryKeys.users.putUpdateProfile
227- [ 사용자 삭제] delete-user.bru → QueryKeys.users.deleteUser
225+ 멘토 목록 조회 [ get-mentor-list] .bru → QueryKeys.mentors.getMentorList
226+ 사용자 프로필 [ get-user-profile] .bru → QueryKeys.users.getUserProfile
227+ 지원서 생성 [ post-create-application] .bru → QueryKeys.applications.postCreateApplication
228+ 프로필 수정 [ put-update-profile] .bru → QueryKeys.users.putUpdateProfile
229+ 사용자 삭제 [ delete-user] .bru → QueryKeys.users.deleteUser
228230```
229231
230232#### 네이밍 규칙
@@ -254,41 +256,42 @@ docs {
254256
255257#### 파일명 예시
256258
257- | Bruno 파일명 | 추출된 파일명 | 쿼리 키 이름 | 훅 이름 |
258- | ------------------------------------- | ---------------------- | -------------------------- | ----------------------------- |
259- | ` [ 멘토 목록 조회] get-mentor-list.bru` | ` get-mentor-list ` | ` getMentorList ` | ` useGetMentorList ` |
260- | ` [ 사용자 프로필] get-user-profile.bru` | ` get-user-profile ` | ` getUserProfile ` | ` useGetUserProfile ` |
261- | ` [ 지원서 생성] post-create.bru` | ` post-create ` | ` postCreate ` | ` usePostCreate ` |
262- | ` get-competitors.bru ` | ` get-competitors ` | ` getCompetitors ` | ` useGetCompetitors ` |
259+ | Bruno 파일명 | 추출된 파일명 | 쿼리 키 이름 | 훅 이름 |
260+ | -------------------------------------- | --- ---------------------- | -------------------------- | ----------------------------- |
261+ | ` 멘토 목록 조회 [ get-mentor-list] .bru ` | ` get-mentor-list ` | ` getMentorList ` | ` useGetMentorList ` |
262+ | ` 사용자 프로필 [ get-user-profile] .bru ` | ` get-user-profile ` | ` getUserProfile ` | ` useGetUserProfile ` |
263+ | ` 지원서 생성 [ post-create] .bru ` | ` post-create ` | ` postCreate ` | ` usePostCreate ` |
264+ | ` get-competitors.bru ` | ` get-competitors ` | ` getCompetitors ` | ` useGetCompetitors ` |
263265| ` 멘토 목록 조회.bru ` | ` 멘토 목록 조회 ` (비권장) | ` 멘토목록조회 ` (문제 가능) | ` use멘토목록조회 ` (문제 가능) |
264266
265- ** 핵심** :
266- - ` [한국어 키] 영어 ` 형식으로 작성하면 한글 설명과 영문 코드를 모두 활용할 수 있습니다
267- - 영문 부분만 kebab-case로 작성하면, 자동으로 일관된 쿼리 키와 훅 이름이 생성됩니다!
267+ ** 핵심** :
268+
269+ - ` 한글명 [영문키] ` 형식으로 작성하면 한글 설명과 영문 코드를 모두 활용할 수 있습니다
270+ - 대괄호 안의 영문키만 kebab-case로 작성하면, 자동으로 일관된 쿼리 키와 훅 이름이 생성됩니다!
268271
269272### 전체 구조 예시
270273
271274```
272275bruno/
273- ├── [어드민] 7 Admin/ # 폴더명: 7 Admin
274- │ ├── [ 목록 조회] get-list.bru # → QueryKeys["7 Admin"] .getList
275- │ ├── [생성] post-create.bru # → QueryKeys["7 Admin"] .postCreate
276- │ └── [수정] put-update.bru # → QueryKeys["7 Admin"] .putUpdate
276+ ├── 7) 어드민 [ Admin] / # 폴더명: Admin
277+ │ ├── 목록 조회 [ get-list] .bru # → QueryKeys. Admin.getList
278+ │ ├── 생성 [ post-create] .bru # → QueryKeys. Admin.postCreate
279+ │ └── 수정 [ put-update] .bru # → QueryKeys. Admin.putUpdate
277280├── 지원서 [applications]/ # 폴더명: applications
278- │ ├── [ 경쟁자 조회] get-competitors.bru # → QueryKeys.applications.getCompetitors
279- │ ├── [ 상세 조회] get-details.bru # → QueryKeys.applications.getDetails
280- │ └── [ 지원서 생성] post-create.bru # → QueryKeys.applications.postCreate
281+ │ ├── 경쟁자 조회 [ get-competitors] .bru # → QueryKeys.applications.getCompetitors
282+ │ ├── 상세 조회 [ get-details] .bru # → QueryKeys.applications.getDetails
283+ │ └── 지원서 생성 [ post-create] .bru # → QueryKeys.applications.postCreate
281284├── 사용자 [users]/ # 폴더명: users
282- │ ├── [ 프로필 조회] get-profile.bru # → QueryKeys.users.getProfile
283- │ └── [ 프로필 수정] put-update-profile.bru # → QueryKeys.users.putUpdateProfile
285+ │ ├── 프로필 조회 [ get-profile] .bru # → QueryKeys.users.getProfile
286+ │ └── 프로필 수정 [ put-update-profile] .bru # → QueryKeys.users.putUpdateProfile
284287└── bruno.json
285288```
286289
287290** 생성되는 구조:**
288291
289292```
290293src/apis/
291- ├── 7 Admin/
294+ ├── Admin/
292295│ ├── get-getList.ts
293296│ ├── post-postCreate.ts
294297│ └── index.ts
0 commit comments