refactor(abut): 교량받침 카드에서 받침 종류 · 용량 입력 삭제
- 받침 종류 · 용량 입력칸과 받침 규칙의 kind 값을 제거 - 예전 프로젝트 파일에 저장된 kind 값은 읽을 때 무시 (불러오기 오류 없음) - 테스트 갱신. 전체 651건 통과, 타입 검사·빌드 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b969f4a7c
commit
796a267205
5 files changed
+7
-29
No files matched your search
@@ -131,6 +131,7 @@ export function checkStoredAbutments(list: unknown): void {
|
||||
}
|
||||
if (a.bearingRule !== undefined) {
|
||||
for (const [key, v] of Object.entries(a.bearingRule)) {
|
||||
// 'kind' (받침 종류) was stored by an earlier version and is ignored now (2026-11-03).
|
||||
if (key === 'kind' ? typeof v !== 'string' : !finite(v)) throw new Error(`${who}: 받침 규칙 ${key}이(가) 맞지 않습니다.`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user