Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions doc/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ convex/
| スキル管理 | - | `StaffDetail`内 | `staffSkill/queries`, `mutations` |
| ユーザー管理 | `MyPage`, `Settings` | `User/UserRegister`, `Setting/UserSetting` | `user/queries`, `mutations` |
| 招待機能 | `Invite` | `Shop/MemberAddModal` | `invite/queries`, `mutations` |
| シフト管理 | `Shops/ShiftsPage`, `RecruitmentNewPage`, `RecruitmentDetailPage`, `ShiftConfirmPage`, `StaffingSettingsPage` | `Shift/ShiftForm`, `RecruitmentForm`, `RecruitmentList`, `RecruitmentDetail`, `RecruitmentNew`, `StaffingRequirement` | `requiredStaffing/queries`, `mutations` |

---

Expand Down Expand Up @@ -90,6 +91,18 @@ convex/
| `src/components/features/Shop/MemberAddModal/` | スタッフ招待モーダル |
| `convex/invite/` | DB操作 |

### シフト管理
| ファイルパス | 責務 |
|-------------|------|
| `src/routes/_auth/shops/$shopId/shifts/` | ルーティング |
| `src/components/pages/Shops/ShiftsPage/` | useQuery、エラー/ローディング処理 |
| `src/components/pages/Shops/RecruitmentNewPage/` | 募集作成ページ |
| `src/components/pages/Shops/RecruitmentDetailPage/` | 募集詳細ページ |
| `src/components/pages/Shops/ShiftConfirmPage/` | シフト確定ページ |
| `src/components/pages/Shops/StaffingSettingsPage/` | 必要人員設定ページ |
| `src/components/features/Shift/` | ドメインロジック、UI |
| `convex/requiredStaffing/` | 必要人員DB操作 |

---

## データフロー図
Expand Down Expand Up @@ -172,6 +185,7 @@ convex/
| `userAtom` | ログインユーザー情報 | メモリ |
| `selectedShopAtom` | 選択中の店舗情報 | localStorage |
| `hasSelectedShopAtom` | 店舗選択済み判定(派生) | - |
| ShiftForm Atoms | シフト編集状態(Jotai Provider内スコープ) | メモリ |

---

Expand Down
1 change: 1 addition & 0 deletions doc/INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| スキル管理 | [スキル管理.md](features/スキル管理.md) | スタッフのスキルレベル管理 |
| ユーザー管理 | [ユーザー管理.md](features/ユーザー管理.md) | 認証、プロフィール管理 |
| 招待機能 | [招待機能.md](features/招待機能.md) | マジックリンクでスタッフ招待 |
| シフト管理 | [シフト管理.md](features/シフト管理.md) | シフト編集、募集管理、必要人員設定 |

## 関連ドキュメント

Expand Down
Loading