refactor(M02): 새 항목 일위대가 고르기 없앰 — 항목 추가 창 줄 · pickCombo · 서버가 받는 일위대가 키 · 열 칸 새로 쓰기 · /combos/all · fetchUsableCombos 지움 · 새 구조물 일위대가 = 빈 labor 문서(39-1d)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rJwJMVL4EE31y77TB11AP
This commit is contained in:
2026-10-04 21:04:48 +09:00
co-authored by Claude Opus 5.5
parent 5066c6bb27
commit 8087c73060
11 changed files with 24 additions and 230 deletions
@@ -246,8 +246,7 @@ def apply(
made = [*where, _name(body.get("이름"))]
_taken_item(out, made)
col: dict[str, Any] = {"id": _fresh_id(out), "단위": body.get("단위"), "꼴": "수"}
# 항목 추가 창에서 고른 일위대가(PLAN 31-2) — 없으면 비움 · 단위는 안 받아도 됨
col["일위대가"] = body.get("일위대가") or None
# 일위대가는 열 칸에 안 적음 — 늘 빈 labor 문서로 생기고 카드에서 담음(39-1d)
_set_path(col, made)
_place(out, col)
note.update({"경로": made, "열": col["id"]})