feat(z01): 갈래 다섯(지문 fingerprint 더함 · 「정본 아님」 딱지는 부산물만) · 낱값 마디(@values)는 표들 밑에 · 큰 표 셋 ORCA 확인(40,000줄 트리 한 줄 · 끝 쪽 바로 · 겹친 검색은 최신만)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016VBGFXB9AbJBwXP19z75Qq
This commit is contained in:
@@ -22,8 +22,12 @@ export interface MasterFile {
|
||||
tables: MasterTable[];
|
||||
}
|
||||
|
||||
/** 표가 아닌 낱값(한 값짜리 요율 따위)을 모은 마디 — 여느 표처럼 이름·값 두 칸으로 옴. */
|
||||
export const VALUES_TABLE_ID = "@values";
|
||||
|
||||
export interface MasterGroup {
|
||||
key: "logic" | "base" | "byproduct" | "seed";
|
||||
/** fingerprint = 폴더 지문(_manifest) — 어느 판으로 셈했는지 못박는 자리(부산물 아님). */
|
||||
key: "logic" | "base_value" | "byproduct" | "seed" | "fingerprint";
|
||||
label: string;
|
||||
files: MasterFile[];
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ import {
|
||||
type MasterGroup,
|
||||
type MasterRows,
|
||||
type MasterTable,
|
||||
VALUES_TABLE_ID,
|
||||
} from "./Z01_MasterData_Api_Fetch";
|
||||
import {
|
||||
clampPage,
|
||||
@@ -92,7 +93,11 @@ function buildTree(
|
||||
file.label,
|
||||
file.label === file.key ? "" : file.key,
|
||||
);
|
||||
for (const table of file.tables) {
|
||||
// 낱값 마디는 표들 밑에 — 누르면 여느 표와 같은 길로 그림(2026-09-15 브레인).
|
||||
const ordered = [...file.tables].sort(
|
||||
(a, b) => Number(a.id === VALUES_TABLE_ID) - Number(b.id === VALUES_TABLE_ID),
|
||||
);
|
||||
for (const table of ordered) {
|
||||
const button = el("button", {
|
||||
className: "z01-master__table",
|
||||
attrs: { type: "button", title: table.key },
|
||||
|
||||
Reference in New Issue
Block a user