Skip to content

Commit 0eaf81d

Browse files
committed
harvesting review
1 parent dd073ff commit 0eaf81d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dev/knowledge/frontend/entities-structure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ What this means in practice:
129129
The rules above are the target. These violations still exist in the codebase — do not copy them,
130130
and remove them when touching the code:
131131

132-
- Entity-root state and files: `branches/stores.ts` (Jotai `branchesState`, `currentBranchAtom`),
133-
`schema/stores/`, `proposed-changes/stores/`, and the stray root component
132+
- Entity-root state and files: `branches/stores.ts` (Jotai `branchesState`), `schema/stores/`,
133+
`proposed-changes/stores/`, and the stray root component
134134
`nodes/getObjectItemDisplayValue.tsx`.
135135
- Global state in a use-case: `branches/domain/use-cases/get-branches.ts` imports `store` from
136136
`@/shared/stores` and calls `store.set(branchesState, branches)` inside `getAllBranches`.
@@ -332,7 +332,7 @@ entities/branches/
332332
│ ├── get-branches.ts # calls api fetcher + api mapper; extracts filters via rules
333333
│ ├── create-branch.ts
334334
│ └── … (delete/merge/rebase/validate/count/details/action-state)
335-
├── stores.ts # branchesState, currentBranchAtom — migration debt, do not copy
335+
├── stores.ts # branchesState — migration debt, do not copy
336336
└── ui/
337337
├── queries/
338338
│ ├── branch.query-keys.ts # branchesQueryKeys factory

0 commit comments

Comments
 (0)