refactor(B05·B06): 부름 0 옛 줄 · 늘 건너뛰는 시험 지움 (PLAN 472-8 ② ③ · 요구 409)
지움
- flushDesignStore(design_store · 부름 0) — 시험 344-4 의 flush 대조 한 줄도
- b_page_state 옛 세션 열쇠 옮김(legacy · migrate) · b_project_switch 옛 키 머리
— 옛 열쇠는 세션 저장소(탭 닫으면 사라짐) · 지금 코드가 안 씀 · storage · DB 에 없음
· 시험 290-1 · 401 · 384-1 의 옛 키 줄 뺌
- 시험만 부르던 TS — planFootprint(346-2 거울은 footprintRecord + slopePieces 로 그대로)
· shiftSegment · shiftMovingPoints(쉬프트 단추는 09-02 지움 · min_cover_guard 쉬프트 시험 뺌)
· dropStationsNear(test_b05_station_merge.mjs 지움) · createIrregularStationsSection(부름 0)
· generalStations(234-1 은 기본 맞춤 값으로 같은 것 잼) · sameSummaryItem
- test_b05_b06_save_roundtrip + helper_b05_save_payload 둘 — 프로젝트 936be972 storage 없어 늘 skip
· 같은 저장 왕복은 test_472_6_design_save(창구 원자성) · test_449_save_pipes(관 PUT)
· test_238_1_save_keeps_structure_stations(구조물 측점)가 잼
남김
- migrateLegacyStations — 부르는 곳 있음(design_view_profile_sections) · storage 에 비정규 측점 남음
- common_util_excavation 셋 — 지금은 운영이 부름(design_calc_node)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,8 +52,6 @@ export function setGeneralStations(
|
||||
listed = (stations ?? []).map((station) => station.chainage_m);
|
||||
}
|
||||
|
||||
export const generalStations = (): readonly number[] => general;
|
||||
|
||||
let plusSource: () => readonly number[] = () => [];
|
||||
|
||||
/** 추가 측점 읽는 곳을 둔다(368-2) — 부를 때마다 읽음(되돌리기 · 다른 보기가 바꿔도 같은 값). */
|
||||
|
||||
@@ -34,12 +34,6 @@ export function isSummaryItem(value: unknown): value is SummaryItem {
|
||||
);
|
||||
}
|
||||
|
||||
/** 같은 항목인가 — 층 · 주인 · 키가 같으면 같음(이름은 바뀔 수 있어 안 봄). */
|
||||
export function sameSummaryItem(left: SummaryItem | null, right: SummaryItem | null): boolean {
|
||||
if (!left || !right) return left === right;
|
||||
return left.layer === right.layer && left.owner === right.owner && left.key === right.key;
|
||||
}
|
||||
|
||||
/** 서버 · 세션에서 온 값을 참조 또는 null 로 — 모양이 틀리면 null(미지정). */
|
||||
export function readSummaryItem(value: unknown): SummaryItem | null {
|
||||
return isSummaryItem(value) ? value : null;
|
||||
|
||||
Reference in New Issue
Block a user